closeio / mic-recorder-to-mp3

Microphone Recorder to mp3
MIT License
238 stars 130 forks source link

Firefox issue: OverconstrainedError on start recording #3

Closed danirrivas closed 5 years ago

danirrivas commented 6 years ago

When triggering the recorder.start() action the following error happens (Firefox 59.0.2):

MediaStreamError
​constraint: "deviceId"
​message: "Constraints could be not satisfied."
​name: "OverconstrainedError"
​stack: ""

It can be easily reproducible with the Live example on jsfiddle.

Hope this helps to make this app great again :-)

jonathan-s commented 5 years ago

Also having this issue.

benmackerras commented 5 years ago

This could be fixed by simply removing the constraint from getUserMedia in the start() function of mic-recorder.js (I'm not even sure what the point of this constrain is since its just setting the deviceId to 'default' which I'm guessing would be the default value anyway)