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: 
stalbert
Visitor

HLS Playlist Reload Interval

How does the Roku HLS player determine how often to reload the HLS playlist when viewing a live HLS stream? When viewing a stream (that is intended to have the lowest latency possible), I am seeing it reload the playlist consistently every 2.5 seconds, but at this rate it is missing some of the video files. Is there a way to tweak how often it reloads?
0 Kudos
1 REPLY 1
RokuJoel
Binge Watcher

Re: HLS Playlist Reload Interval

There isn't. You probably need to expand the window - don't expire your segments so quickly. You can push the playback closer to real time like this:

time=createobject("rodatetime")
now=time.asseconds()

videoclip.playstart=now+1800
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.