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

Re: HTTP Live Streaming Now Available For Developers

Hello, I just discovered what the bug is that is causing this (still happens in current version) its not in the code files and you dont need to add the episode.streamFormat line at all. The problem is in the XML files. The app works depending on which XML sample file you choose to base your XML file structure off of. Some of them have the <streamFormat> line in the right place and some dont. The <streamFormat> line needs to be outside of the <media> tags and NOT inside of them like they are in some of the examples. The generic.xml example is right. It would be nice if someone from Roku could fix the XML file examples to correct this. Hope this helps others as the other fixes listed here didnt help me.
0 Kudos
RokuKevin
Visitor

Re: HTTP Live Streaming Now Available For Developers

It looks like themind.xml, music.xml, inspiration.xml, and globalissues.xml do not have this information in the place expected by the code. Everything works in the sample because the default format is .mp4, which the videplayer urls are, but when you modify the code to point to your own files you may expect the StreamFormat to get set to something else and it isn't.

We'll update those files in the next SDK release, but please edit design.xml as a good example of indicating StreamFormat correctly.

--Kevin
0 Kudos