Roku Developer Program

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

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