Developers

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
p2premote
Visitor

How roku decides it has buffered enough data to play hls?

I am using amazon cloudfront to publish my HLS stream and currently refreshing the play list (.m3u8) every 30 seconds. The playlist has 8 media files and each last 10 seconds. When publishing the playlist, I take 3 media urls out and add 3 new one.

My goal is to get the video to play at soon as possible, but with current configuratio roku box still spend some time on buffering sometimes. The waiting varies, sometimes it is just 1 second, and some times it is over 15 seconds.

My question is how roku box decides it has buffered enough data to play a hls stream? I am not able to find any suggestion on hls specification and believe it is implementation details. I would like to listen any advice to make the buffering shorter with server side changes (make playlist shorter/longer, publish playlist less/more often etc).

Thanks.
Tags (1)
0 Kudos
Community is Temporarily in Read-Only Mode!

We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. You will not be able to log in or post new comments or kudos during this time. Read more here.

Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 12 and you may notice reduced functionality. In the meantime, for additional assistance, visit our Support Site.

Thanks for your patience — we’re excited to share what’s next!