Monday, 28 February 2022

Unable to record from USB microphone on Chrome on Android (Lollipop)

Based on previous thread, getUserMedia is supported in Chrome on Android now (version 40).

I got this working using the usual getUserMedia idiom (see, for example, http://www.html5rocks.com/en/tutorials/getusermedia/intro/). This works on desktop (any mic) and on mobile (default mic).

However, when a USB mic is plugged in, this does not seem to work. The usual permission dialog is shown. However, the input audio will actually come from the phone's default mic (ie, scratching/tapping the usb mic produced no noise), even though the USBmic is clearly connected (ie, it lit up).

On desktop, you can fix this by selecting the audio input source, but I'm not sure how to do that on Android.

The really funny thing is that typical audio recording APPs can actually CORRECTLY get the audio input from the USB mic on the same device.

Has anyone experienced this problem?



from Unable to record from USB microphone on Chrome on Android (Lollipop)

No comments:

Post a Comment