Your Digital Media Has Never Looked So Good

 
salman23
Topic Author
Posts: 37
Joined: Tue Jun 17, 2014 11:23 pm

HLS video adaptability

Mon Sep 01, 2014 12:21 am

Hi,
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 ..?

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.
 
bregent
Posts: 93
Joined: Thu Dec 27, 2012 4:17 pm

Re: HLS video adaptability

Mon Sep 01, 2014 7:00 pm

Wrong forum. This is the RadioRoku forum for the Soundbridge.

Who is online

Users browsing this forum: No registered users and 1 guest