# How to "Lock" Channel PID (PID,VideoPID,AudioPID) in UDP Multicast input

**URL:** <https://community.wowza.com/t/how-to-lock-channel-pid-pid-videopid-audiopid-in-udp-multicast-input/96160>\
**Category:** Wowza Streaming Engine\
**Created:** [May 20, 2023, 8:42am UTC](https://community.wowza.com/t/how-to-lock-channel-pid-pid-videopid-audiopid-in-udp-multicast-input/96160 "2023-05-20T08:42:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Novrizal\_Nurreza](https://avatars.discourse-cdn.com/v4/letter/n/58f4c7/32.png) [@Novrizal\_Nurreza](https://community.wowza.com/u/Novrizal_Nurreza)\
**Post date:** [May 20, 2023, 8:42am UTC](https://community.wowza.com/t/how-to-lock-channel-pid-pid-videopid-audiopid-in-udp-multicast-input/96160/1 "2023-05-20T08:42:18Z")

</div>

Hi Guys,

I want to ask, I receive UDP Multicast input in Wowza Streaming Engine. In one Multicast i have 4 program channels , lets say channel A TV, Channel B TV, etc. Yes i can select channel manually. The problem is if 1 channel get scrambled from source, WSE is back to default to select the first program in the list of programs in the PMT is used.  
Can i “lock” the stream to not select other channel programs? and make the video become black or freeze instead

Thanks

---

<div class="post-metadata">

**Author:** ![kishore\_kumar1](https://avatars.discourse-cdn.com/v4/letter/k/f4b2a3/32.png) [@kishore\_kumar1](https://community.wowza.com/u/kishore_kumar1)\
**Post date:** [July 6, 2023, 10:35am UTC](https://community.wowza.com/t/how-to-lock-channel-pid-pid-videopid-audiopid-in-udp-multicast-input/96160/2 "2023-07-06T10:35:11Z")

</div>

Hi Novrizal,

You would need to pull each stream from the multicast stream, using a .stream file. You can follow this article to specify which Video and Audio PID needs to be ingested to the Wowza streaming engine to deliver as an HLS stream.  
[https://www.wowza.com/docs/how-to-specify-per-stream-settings-in-stream-files#mpegtsstreams](https://www.wowza.com/docs/how-to-specify-per-stream-settings-in-stream-files#mpegtsstreams)

Then use the smil file at the destination to combine the streams.

It would look something like the details in the following support article:  
[https://www.wowza.com/docs/how-to-use-alternative-audio-or-video-tracks-with-apple-hls-streams#smil](https://www.wowza.com/docs/how-to-use-alternative-audio-or-video-tracks-with-apple-hls-streams#smil)

Regards,  
kishore kumar  
Senior Technical Support Engineer
