Some MPEG-TS encoders publish audio and video where the media frames aren't aligned on PES packet boundaries. This misalignment will cause the audio and video to not play. Wowza Streaming Engine can re-align unaligned streams, but it requires that a property be added to your live application.
Fix audio and video alignment in Wowza Streaming Engine Manager
- Click the Applications tab and then click the name of your live application in the contents panel.
- On the application page Properties tab, click RTP Jitter Buffer in the Quick Links bar.
Note: Access to the Properties tab is limited to administrators with advanced permissions. For more information, see Manage credentials.
- Click Edit in the RTP Jitter Buffer properties area and make the following changes depending on if you are correcting audio or video alignment:
- To turn on the code to fix video alignment, select the Enabled check box next to mpegtsVideoIsAligned and set the value to True.
- To turn on the code to fix audio alignment, select the Enabled check box next to mpegtsAudioIsAligned and set the value to True.
- To turn on the code to fix video alignment, select the Enabled check box next to mpegtsVideoIsAligned and set the value to True.
- Click Save, and then restart the application when prompted to apply the changes.
Note: These properties will apply to all streams delivered by the application. For more information on only changing the properties for a single stream, see Specify per-stream settings in Wowza Streaming Engine .stream files.
Fix audio and video alignment in XML
Fix video alignment in XML
- Use a text editor to open the [install-dir]/conf/[application]/Application.xml file for your live application and add the following property to the <RTP>/<Properties> container. Be sure to add the property to the correct <Properties> container in Application.xml as there are several such containers in the file.
<Property> <Name>videoIsAligned</Name> <Value>false</Value> <Type>Boolean</Type> </Property>
- Restart Wowza Streaming Engine to apply the changes.
Fix audio alignment in XML
- Use a text editor to open the [install-dir]/conf/[application]/Application.xml file for your live application and add the following property to the <RTP>/<Properties> container. Be sure to add the property to the correct <Properties> container in Application.xml as there are several such containers in the file.
<Property> <Name>audioIsAligned</Name> <Value>false</Value> <Type>Boolean</Type> </Property>
- Restart Wowza Streaming Engine to apply the changes.
Note: These properties will apply to all streams delivered by the application. For more information on only changing the properties for a single stream, see Specify per-stream settings in Wowza Streaming Engine .stream files.