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

how to add the video path or source in simpleinfo source cod

Dear all

IN simpleinfo source code i edit. it will show the logo in my developer roko box but when i click the thumbnail or poster it's not working. any one please look at the issue.


showList = [
{
ShortDescriptionLine1:"Maa Tv",
ShortDescriptionLine2:"Maa Tv",
HDPosterUrl:"http://myserver.com/tvchannles_logos/image8.png",
SDPosterUrl:"http://myserver.com/tvchannles_logos/image8.png",
streamUrl:"rtsp://myderver:1986/rtplive/tv5/"
}
{
ShortDescriptionLine1:"Maa Music",
ShortDescriptionLine2:"Maa Music",
HDPosterUrl:"http://myserver.com/tvchannles_logos/maamusic.jpg",
SDPosterUrl:"http://myserver.com/tvchannles_logos/maamusic.jpg",
streamUrl:"http://myderver:1986/rtplive/tv5/playlist.m3u8"

}
{
ShortDescriptionLine1:"Vanatha Tv",
ShortDescriptionLine2:"Vanatha Tv",
HDPosterUrl:"http://myserver.com/tvchannles_logos/image14.png",
SDPosterUrl:"http://myserver.com/tvchannles_logos/image14.png",
streamUrl:"http://myderver:1986/rtplive/vanitatv/playlist.m3u8"
}
{
ShortDescriptionLine1:"Bhakthi Tv",
ShortDescriptionLine2:"Bhakthi Tv",
HDPosterUrl:"http://myserver.com/tvchannles_logos/image1.png",
SDPosterUrl:"http://myserver.com/tvchannles_logos/image1.png",
streamUrl:"rtsp://myderver:1986/rtplive/vanitatv/"
}
]


Thank and regards

Keshav
0 Kudos
2 REPLIES 2
RokuChris
Roku Employee
Roku Employee

Re: how to add the video path or source in simpleinfo source

First, the simpleinfo example does not play video. That example is a demonstration of how the info button on the remote works. You might want to look at the simplevideoplayer example instead.

Also, Roku does not support rtsp. HTTP Live Streaming is the only live streaming technology compatible with Roku. Section 4 of the Encoding Guide talks more about that.

As to your code, streamURL is not a valid attribute of the content-meta-data structure. See Section 3.3 of the Component Reference. This would be more correct:

{
ShortDescriptionLine1:"Maa Tv",
ShortDescriptionLine2:"Maa Tv",
HDPosterUrl:"http://myserver.com/tvchannles_logos/image8.png",
SDPosterUrl:"http://myserver.com/tvchannles_logos/image8.png",
stream: {
url:"rtsp://myderver:1986/rtplive/tv5/"
}
}
0 Kudos
keshavphp
Visitor

Re: how to add the video path or source in simpleinfo source

Thanks for your help
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.