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: 
tim_beynart
Channel Surfer

How to recover from HLS segment failure?

We are having an issue with HLS where a single segment request will cause the player to send an isRequestFailed message. This triggers the app to exit the stream and display an error message to the user.  We see this issue intermittently with several different pieces of content and I am convinced it's the result of network problems or a bad ad segment (we use ad stitching in the HLS manifests).
I am curious if the Roku firmware has built in recovery logic for HLS that it runs before issuing this message? Or is there is a tactic for maintaining playback by somehow retrying the segment, skipping ahead to the next segment, or something else I haven't thought of?

Thanks.
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.