How to control video and audio PID and streamIDs for outgoing MPEG-TS

Wowza Media Server™ 3.0.0 or later can control video and audio PID and streamIDs used when streaming out using MPEG-TS. To control the values add the following properties to the Streams/Properties container in [install-dir]/conf/[application]/Application.xml (be sure to add these properties to the correct <Properties> container - there are several in Application.xml):

<Property>
	<Name>mpegtsOutVideoPID</Name>
	<Value>500</Value>
	<Type>Integer</Type>
</Property>
<Property>
	<Name>mpegtsOutVideoStreamID</Name>
	<Value>224</Value>
	<Type>Integer</Type>
</Property>
<Property>
	<Name>mpegtsOutAudioPID</Name>
	<Value>501</Value>
	<Type>Integer</Type>
</Property>
<Property>
	<Name>mpegtsOutAudioStreamID</Name>
	<Value>225</Value>
	<Type>Integer</Type>
</Property>

Originally Published: 10-13-2011.
 

If you're having problems or want to discuss this article, post in our forum.