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

Missing segment breaks streaming

Not sure if this is related to the latest update (4/24) or not...

If a segment from the .m3u8 file is not found, Roku completely fails to process the entire file, and generates a 404 error.

I would have thought that it should skip past any missing segment, and attempt to process any others in the file.

Example:
#EXTM3U
#EXT-X-VERSION:2
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1128000
/flosoft/_definst_/mp4:twitStream_1128/playlist.m3u8?wowzasessionid=1680698951
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=696000
/flosoft/_definst_/mp4:twitStream_696/playlist.m3u8?wowzasessionid=1680698951
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=496000
/flosoft/_definst_/mp4:twitStream_496/playlist.m3u8?wowzasessionid=1680698951

If the Bolded line (1st segment) happens to be unavailable, Roku generates a 404, and exits the playback.

showVideoScreen | msg = HTTP status 404 | index = 0
Video status: 0 0
showVideoScreen | msg = There was an error in the HTTP response. This could mean that malformed HTTP headers or an HTTP error code was returned. | index = -1
Video request failure: -1 0


Any thoughts?
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.