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

Unable to stream smil file

Hi, I'm trying to stream this smil (video m3u8) on my new Roku 2, but it does not work, it appears giving up after a few tries. however this stream works fine on mac mini quicktime player. I'm using hls format and bitrate=0. Any help would appreciate.

http://token.tvb.com/stream/live/hls/mobilehd_hdj.smil

Thanks
Alan
0 Kudos
2 REPLIES 2
RokuChris
Roku Employee
Roku Employee

Re: Unable to stream smil file

First I would say that roVideoScreen doesn't have native support for SMIL and you'd have to fetch and parse it manually with roXMLElement to get the m3u8 URL to pass to roVideoScreen

But your URL doesn't actually seem to point to a SMIL file. When I try it, I get a 302 redirect to an m3u8, not a SMIL.

I also noticed that there are some cookies that come back with the request. I've seen cases before with Akamai where I've had to make a request for the m3u8 using roURLTransfer, extract the cookies from that response, then add those cookies to my roVideoScreen using AddHeader() before the video will play.
0 Kudos
siyu798
Visitor

Re: Unable to stream smil file

Chris, thanks for you quick reply, I'll try to save the m3u8 on my server and have roku point to it. If that does not work will try to addheader approach.
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.