Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

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



9 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

Can I see a link to where this is running?

jhnogara

User  
0 rated :

It is not permanently hosted here but this is my dev area
http://bit.ly/1uBlxyp

Ethan Feldman

JW Player Support Agent  
0 rated :

This is 6.1, please update to 6.8 – https://account.jwplayer.com/

jhnogara

User  
0 rated :

Ah lol

Ill give it a go

Ethan Feldman

JW Player Support Agent  
0 rated :

Ok~

jhnogara

User  
0 rated :

Though would it make much difference?

Ethan Feldman

JW Player Support Agent  
0 rated :

Yes, definitely.

jhnogara

User  
0 rated :

Found a solution. Switched to FlowPlayer :P

thanks anyway.

Ethan Feldman

JW Player Support Agent  
0 rated :

Np, 6.8 had specific fixes it in though for this, so too bad…

This question has received the maximum number of answers.