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

roMicrophone in SceneGraph

In SceneGraph when I try 

CreateObject("roMicrophone")

I either get an Invalid result or an error (depending upon where the CreateObject call is made):

BRIGHTSCRIPT: ERROR: roMicrophone: no plugin instance available

Creating an roMicrophone in a BrightScript application works -- are there any special requirements for creating an roMicrophone component in SceneGraph? It is not listed as a BrightScript component that cannot be used in a SceneGraph application or that must be used with a Task node ....
0 Kudos
1 REPLY 1
RokuKC
Roku Employee
Roku Employee

Re: roMicrophone in SceneGraph

"zeronil" wrote:
...
It is not listed as a BrightScript component that cannot be used in a SceneGraph application or that must be used with a Task node ....


Thanks for the bug report.
roMicrophone should only be used in a Task node in an SceneGraph application.
I'll file a ticket to have the error message and documentation fixed.
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.