Note: For use with Wowza Media Server 3.0.5.03 or later.
By default, live Microsoft Smooth Streaming (smoothstreaming) audio and video fragment durations aren't aligned, whereas video on demand fragments are aligned. Data packets received by Wowza Media Server are sent to the smoothstreamingpacketizer where the H.264 video and AAC/MP3 audio stream are broken into chunks.
To turn on alignment for live Smooth Streaming, add the following properties to the LiveStreamPacketizer/Properties container in [install-dir]/conf/[application]/Application.xml:
<Properties> <Property> <Name>smoothPacketSortTime</Name> <Value>500</Value> <Type>Integer</Type> </Property> <Property> <Name>smoothAlignAudioWithVideo</Name> <Value>true</Value> <Type>Boolean</Type> </Property> </Properties>
This also requires that smoothstreamingpacketizer be set in Streams/LiveStreamPacketizers in [install-dir]/conf/[application]/Application.xml. This is also described in step #3c in the Configuration section of each live tutorial in the Tutorials section.
<LiveStreamPacketizers>cupertinostreamingpacketizer, smoothstreamingpacketizer,cupertinostreamingrepeater, smoothstreamingrepeater</LiveStreamPacketizers>
- Click here, if you are having problems or would like to discuss this article.
- Leave a comment below, if there is some aspect of this article you would like to see changed or improved.