uMicrophoneWebGL icon indicating copy to clipboard operation
uMicrophoneWebGL copied to clipboard

Microphone sample rate not set on Firefox

Open averkis-westland opened this issue 11 months ago • 2 comments

When running the WebGL application in Firefox, the sample rate is not returned by the device.sampleRate call in uMicrophoneWebGL_GetSampleRate. From what I can see in the console, sampleRate is not a valid property and always returns undefined. It might be because the device object is being returned as a MediaDeviceInfo object instead of a InputDeviceInfo object?

Below is an image of the result from Chrome:

Image

And here is the result from Firefox:

Image

averkis-westland avatar Feb 07 '25 00:02 averkis-westland

Thank you for investigating this issue. Would it be possible for you to try running a simple script on your Firefox environment to check if the microphone's sampleRate can be retrieved?

hecomi avatar Feb 09 '25 13:02 hecomi

No problem! Send me the script and I can test it and give you the results.

averkis-westland avatar Feb 09 '25 14:02 averkis-westland