
M3u8 multibitrate playlist with bitrate selection error "Infinity:NaN:NaN"
I have a HLS playlist with a high and low quality live stream.
On Windows with RTMP it works fine with the SMIL playlist and the bitrate selection works.
On MacOS it defaults to M3u8. This would not be a big problem if only the bitrate selection would work.
It just shows "Infinity:NaN:NaN" where the selection should be.
My embed code
<script type="text/javascript">
jwplayer("test").setup({
sources: [
{ 'file': "http://URL/test.smil"},
{ 'file': "http://URLtest.m3u8"}
],
height: 360,
width: 640,
});
</script>
The M3u8 playlist
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=500000
http://URL/test_low.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1000000
http://URL/test_org.m3u8
As you can see the two options are test_low.m3u8 and test_org.m3u8
It always uses the test_org.m3u8 (this is a HD stream) so iOS users have problems.
Is there a way to fix the issue on MacOS with the bitrate selection and a way for iOS users to default SD and select HD if they want it?
Thanks