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: 

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.   
Thought?  
0 Kudos
1 REPLY 1
24i
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. 
https://sdkdocs.roku.com/display/sdkdoc/roRegistry
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
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.