Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

HLS Not switching to lower bitrate

I am having a hard time with HLS. The Roku seems to stick to one particular bitrate stream and won't switch to a lower one even if the bandwidth available is not enough for continuous playback.

The Roku will just stop playing and the "Loading..." screen will come back on until it refills the buffer. It keeps doing this over and over.

Can someone from Roku Engineering assure me if the Roku is supposed to switch to a lower bitrate stream? How can I troubleshoot this? I am trying to play a live stream from a Wowza server.
0 Kudos
4 REPLIES 4

Re: HLS Not switching to lower bitrate

Here is a test stream if anybody wants to try it out, it has four different bitrates. The SMIl file has the lowest as the first entry.

http://mek2.mekstream.com:1935/antenala ... ylist.m3u8
0 Kudos
RokuKevin
Visitor

Re: HLS Not switching to lower bitrate

The roku does do adaptive streaming in hls. It can switch on any segment boundary.

--Kevin
0 Kudos

Re: HLS Not switching to lower bitrate

Thanks Kevin! Any idea why it would not be switching on my stream? I'd really appreciate some help with this.

Cheers,

Manuel.-
0 Kudos
RokuKevin
Visitor

Re: HLS Not switching to lower bitrate

It should switch. You can experiment with different streaming strategies using the new SwitchingStrategy content meta data parameter in v2.8. You could force a switch with a traffic shaping router or by removing one of the upcoming .ts files from the playing stream on your web server.

From the v2.8 Component Reference:

Possible strategy values:

“unaligned-segments”
This was the algorithm used in v2.7. This strategy does not require segments to align across variants. Also does not switch as often as full-adaptation.

“full-adaptation”
uses measured bandwidth and buffer fullness to determine when to switch. This strategy requires that segments align across variants as the HLS spec requires. This is the new default.

“minimum-adaptation”
Uses only measured bandwidth in determining switching strategy. This strategy requires that segments align across variants as the HLS spec requires.


--Kevin
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.