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.
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Simple Video Player user input new stream?

I'm building a channel based on the "Simple Video Player" example.    I have successfully hard coded a m38u hls stream that works quite well.  
I'm wondering where there is an example of having the user input a new stream URL and storing it for the next time the Channel is launched.   
0 Kudos
Streaming Star

Re: Simple Video Player user input new stream?

Within an application you have the global node that can be accessed from anywhere in the app, but that is reset upon closing the app. 

I think that if you want to have that kind of data upon another launch, you will have to use the roRegistry object.
When launching the app you could read from the registry and when an user sets another url you could save that in the registry. 
0 Kudos