higuma / web-audio-recorder-js

.wav/.ogg/.mp3 recorder with Web Audio API
MIT License
775 stars 185 forks source link

Demo does not work in recent chrome version due to a new security behavior #41

Open SuperPat45 opened 4 years ago

SuperPat45 commented 4 years ago

Demo does not work in recent Chrome version due to a new security behavior:

hmoffatt commented 3 years ago

I could not find the demo source code in any repository either. Did I miss it?

sagnitude commented 3 years ago

I could not find the demo source code in any repository either. Did I miss it?

in the gh-pages branch of this repo

hmoffatt commented 3 years ago

The problem seems to be the getUserMedia contraints in RecorderDemo.js, because the echoCancellation property is marked mandatory. I can't find any documentation about the mandatory object in the current spec. Remove this constraint and it works, or move it outside the mandatory object.