I am using 'Streams' attribute for playing a HLS m3u8 video at different bitrate levels.But when i try to play, the video url which comes as the last object in Streams array is only playing.I thought it will switch the urls as bitrate or bandwidth changes.But instead it just rebuffer again. Doesn't the 'Streams' attribute switch or adapts the urls according to bandwidth.If it doesn't , what is the need for providing multiple urls for different bitrates. Has anyone faced this issue before ..?
Code: Select all
Streams:[
{ url : "http://me.com/x-384.m3u8",
bitrate : 384
},
{ url : http://me.com/x-1500.m3u8,
bitrate : 1500
} ,
{ url : http://me.com/x-2000.m3u8,
bitrate : 2000
} ,
{ url : http://me.com/x-2500.m3u8,
bitrate : 2500
}
]
From the above code the player always chooses the url, 'http://me.com/x-2500.m3u8' ,which comes as the last object in the array as i said earlier.