Hi
We’re streaming audio over HLS using JWPlayer. To make audio streaming work on different browsers, we use TS packeting as described here:
This works fine on some files, but on other we get extreme stuttering.
Specifically we see problems on a file with the following properties:
Input #0, mp3, from ‘8/f/5/0/8f501f19-a87c-42ac-a81c-cb26b96cc0a4.mp3’:
Metadata:
encoder : Lavf53.31.100
Duration: 00:04:00.06, start: 0.000000, bitrate: 96 kb/s
Stream #0:0: Audio: mp3, 22050 Hz, stereo, s16, 96 kb/s
However, we see no problems with a file with these properties:
Metadata:
encoder : Lavf53.31.100
Duration: 00:05:59.70, start: 0.000000, bitrate: 96 kb/s
Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 96 kb/s
We are using Wowza 4.5.0.
The relevant changes in Application.xml are the following:
<HTTPStreamer>
<!-- Properties defined here will override any properties defined in conf/HTTPStreamers.xml for any HTTPStreamer loaded by this applications -->
<Properties>
+ <Property>
+ <Name>cupertinoPacketizeAllStreamsAsTS</Name>
+ <Value>true</Value>
+ <Type>Boolean</Type>
+ </Property>
+ <Property>
+ <Name>cupertinoChunkDurationTarget</Name>
+ <Value>30000</Value>
+ <Type>Integer</Type>
+ </Property>
</Properties>
</HTTPStreamer>
Any insights are welcome.