Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
nrahnemoon
Level 7

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
BCVatOVG
Level 7

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
Level 7

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
Level 7

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