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: 
quartern2
Newbie

bug:HLS: if one variant URL 404s the whole play aborts

A multivariant HLS URL that plays successfully on my desktop (smplayer) was failing on Roku.

 

Video node in debug console contained  (did not dump errorInfo AA)

    errorCode: -3
    errorMsg: "An unexpected problem (but not server timeout or HTTP error) has been detected."
    errorStr: "exception:HTTP server returned error code:extra:etype:buffer"

 

Wireshark showed that the multi-variant as well as some of the variant m3u8 URLs were successfully fetched (status 200) but upon hitting 404 on one of the variants the stream play attempt was aborted.

Sometimes some (live) video transcode processes could become offline and produce just 4 of the 5 listed variants - a better user experience would be if the player will pretend those 404 variants are not even listed.

Here is the Info column from Wireshark

GET /hls/live/2024691/2024691/master.m3u8 HTTP/1.1 
HTTP/1.1 200 OK  (application/x-mpegurl)
GET /hls/live/2024691/2024691/master.m3u8 HTTP/1.1 
HTTP/1.1 200 OK  (application/x-mpegurl)
GET /hls/live/2024691/2024691/source1_1.8k/chunklist.m3u8 HTTP/1.1 
HTTP/1.1 200 OK  (application/x-mpegurl)
GET /hls/live/2024691/2024691/source1_2.5k/chunklist.m3u8 HTTP/1.1 
HTTP/1.1 200 OK  (application/x-mpegurl)
GET /hls/live/2024691-b/2024691/source1_2.5k/chunklist.m3u8 HTTP/1.1 
HTTP/1.1 404 Not Found 




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.