Microphone sample rate not set on Firefox
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:
And here is the result from Firefox:
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?
No problem! Send me the script and I can test it and give you the results.