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

Working on my first channel

Hi everyone,

I'm about to start working on a private channel and I had a couple of questions please.

I know how to get to the SDK, documentation and all other resources, but I thought if some people could suggest ideas that could save me some time.

So the concept is this, I have about 20 Http live feeds, and I would like to watch them from Roku. The only concern is that, the channel links are not static. So I have to ping a server that sends me these http streams.

So I need to refresh the feed once I open the Roku channel, and then every time I switch between feeds inside the Roku channel. I hope that this make sense.

If you ever came across anything similar, please feel free to give your thought even concepts that you may know I wouldn't recognize for now. For example I saw in the examples a way to put the feeds in an XML file, what if my streams links are dynamically generated. Also is there something like an internal change event that I listen to that gets triggered when I switch between streams inside the Roku channel?

Thank you!
0 Kudos
2 REPLIES 2
ammoun
Visitor

Re: Working on my first channel

If this is not the best place to seek advice, please let me know. Thank you
0 Kudos
belltown
Roku Guru

Re: Working on my first channel

"ammoun" wrote:
I have about 20 Http live feeds, and I would like to watch them from Roku. The only concern is that, the channel links are not static. So I have to ping a server that sends me these http streams.

So I need to refresh the feed once I open the Roku channel, and then every time I switch between feeds inside the Roku channel.

Usually that kind of thing is handled in the server using HTTP redirects. Each of your 20 live feeds would be assigned a fixed url. The server, upon receiving a request for a particular fixed url, would respond with an HTTP 302 (Moved Temporarily) redirect containing the current url for that particular feed.

Your Roku channel would just specify the fixed feed urls, and the Roku OS would handle the redirection automatically, so there would be no need to refresh the feed, "ping" the server, or listen for any kind of change event. You'd just write a standard Roku feed-playing channel, and whenever your feeds' url change, your server administrator would change the redirection url in the server.
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.