I’m writing a program that uses a microphone in AS3. I want to keep the selected microphone information in a “cookie” so that if the user visits the page several times, he doesn’t have to choose the mic again and again.
I have noticed that Firefox and Explorer give me the correct list of microphones available via Microphone.names, but Chrome does not. Does anyone know why?
If you want to reproduce the error, you can follow these steps:
- Connect a USB microphone to your computer.
- Run a flash program where you display the
Microphone.nameslist. - Unplug the USB microphone.
- Run the flash program again, and you will see that even though the USB mic is
disconnected, it is still displayed in the microphone list.
Pepper Flash is Adobe and Google’s effort to keep Flash player alive on the Linux platform. It is used by all recent versions of Chrome on all OS’s by default.
Unfortunately, there are quite a few problems with Pepper Flash. I’ve noticed a handful of bugs on the Mac and Windows platforms, regarding webcams and microphones. Others have seen issues with various video games.
When ever someone reports a Flash problem that only occurs in Chrome, Pepper Flash always seems to be the culprit.
Fortunately, if you are not running Linux you can still install the regular Flash Player plugin (the “netscape” plugin) on Chrome (or you likely have one already installed). Pepper Flash can be disabled in Chrome by going to the url: chrome://plugins.