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

RoAudioPlayer in SceneGraph XML

Hi everyone,

I'm trying to stream a live mp3 channel in my application. I'm using the scenegraph API and when I run "CreateObject('RoAudioPlayer')", it returns an "Invalid" object. Does anyone know what I should be doing here?

Thanks,

Nima
0 Kudos
3 REPLIES 3
BCVatOVG
Visitor

Re: RoAudioPlayer in SceneGraph XML

Can we get a bit more information? How/where are you truing to run "CreateObject('RoAudioPlayer')"?

Can you post some code examples, or better yet a zip of a sample application?
0 Kudos
TheEndless
Channel Surfer

Re: RoAudioPlayer in SceneGraph XML

I don't think you can user roAudioPlayer within a SceneGraph application. You should instead use an Audio node.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
nrahnemoon
Visitor

Re: RoAudioPlayer in SceneGraph XML

TheEndless, THANK YOU!!! That's exactly what I've been looking for. It never occurred to me to check the "Control Nodes" tab. :roll:
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.