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: 
unDEFER
Streaming Star

"play failed": Can't to play HLS video

Hello!
I have the next error at HLS playing:
play failed: An unexpected problem (but not server timeout or HTTP error) has been detected.


My playlist.m3u8 has the next content:
#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=64000
http://[full-url]/playlist.m3u8?wowzasessionid=796443353


Where "playlist.m3u8?wowzasessionid=796443353" has the next content:
#EXTM3U
#EXT-X-ALLOW-CACHE:NO
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:1280
#EXTINF:13,
media_1280.ts?wowzasessionid=796443353
#EXTINF:10,
media_1281.ts?wowzasessionid=796443353
#EXTINF:10,
media_1282.ts?wowzasessionid=796443353


Where media_*.ts?wowzasessionid=796443353 is right, not broken H.264 stream with AAC audio.

Why it don't want to play?
0 Kudos
2 REPLIES 2
RokuChris
Roku Employee
Roku Employee

Re: "play failed": Can't to play HLS video

By default, Roku will only play HLS streams with a bitrate higher than 250kbps. To play lower bitrate streams, you should set the minBandwidth attribute of your content-meta-data object to a lower number. See the Component Reference, p19:

roVideoPlayer or roVideoScreen: Will only select variant streams with a bandwidth higher than this minimum bandwidth. Only has an effect on HLS streams. Default is 250 so that audio only variant streams are not considered by default. By default Wowza servers set streams to 64 kbs, so you might want to set this parameter to something smaller than 64 when first testing Wowza streams. You will eventually want to specify the Wowza bitrates with a smil file (Please see the encoding guide). Units are Kbps.
0 Kudos
unDEFER
Streaming Star

Re: "play failed": Can't to play HLS video

O.K. Thank you!
This very easy if you already know this.. But very complicate to find this "An unexpected problem" in this reasons when you don't know..
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.