Hi guys, I'm having a few problems detecting whether a microphone is detected or not. I'm running the function Microphone.getMicrophone() and that should return null if there is no microphone attached, or if the user has clicked Deny on the security panel, right?
The problem I'm facing is, on some computers where there is no microphone installed, Microphone.getMicrophone() still traces out as [object Microphone].
So say for example the user doesn't have a microphone, and clicks allow in the security panel, I can't validate whether to switch to different controls.
If anybody can shed some light on how to detect if there is no microphone connected, then I'm all ears.
Many thanks in advance, Will