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

how to add VOD content on Categories application

I have a Categories application that currently has a list of Live Streams for video, but I also have video on demand (VOD) content that some live streams have, and would like to have them be listed with the live stream in a category.

But everytime I put them on the same category application the video on demand videos do not play. How do you set it up?

Sample Categoriesapp Live Stream XML:

<categories><!-- banner_ad: optional element which displays an at the top level category screen -->
<banner_ad sd_img="http://rokudev.roku.com/rokudev/examples/videoplayer/images/missing.png" hd_img="http://rokudev.roku.com/rokudev/examples/videoplayer/images/missing.png" />

<category title="Live Broadcast" description="" sd_img="http://ortizmediagroup.com/roku/photo/hd/iPointLive.jpg" hd_img="http://ortizmediagroup.com/roku/photo/hd/iPointLive.jpg">
<categoryLeaf title="Clark Ortiz" description="" feed="http://ortizmediagroup.com/roku/xml/ClarkOrtiz.xml"></categoryLeaf>
<categoryLeaf title="Church of All Nations Live" description="" feed="http://ortizmediagroup.com/roku/xml/bocalive.xml"></categoryLeaf>


Sample Channel Live Stream XML

<feed><resultLength>1</resultLength><endIndex>1</endIndex>

<item sdImg="http://ortizmediagroup.com/roku/photo/hd/ClarkOrtiz.png" hdImg="http://ortizmediagroup.com/roku/photo/hd/ClarkOrtiz.png">

<title>Clark Ortiz</title><contentId>10001</contentId>
<contentType>"generic"</contentType>
<contentQuality>"SD"</contentQuality>
<media>
<streamQuality>"SD"</streamQuality>
<streamFormat>"h264"</streamFormat>
<streamBitrate>"1500"</streamBitrate>
<streamUrl>http://cdn.rbm.tv:1935/rightbrainmedia-live-51/_definst_/ClarkOrtiz/playlist.m3u8</streamUrl></media>

<synopsis></synopsis><genres>"Clip"</genres><runtime>0</runtime></item></feed>


But I would like to change the streamFormat from h264 to mp4 video on demand, but when I do that and add it to the categories with all the live streams, the videos do not work, but when I put them by themselves in their own application they work perfectly. Can someone explain this?

Also same/similar problem with Live AUDIO Streams, when i change the streamFormat to mp3 it doesn't work.
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.