cwilso / AudioRecorder

Simple live audio file recorder, based on RecorderJS
MIT License
421 stars 168 forks source link

Add fix to new google terms #29

Open Kaspary opened 5 years ago

Kaspary commented 5 years ago

Correction error from google: The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu

And error in Worker: Uncaught DOMException: Failed to construct 'Worker': Script at 'file:///home/kaspary/Downloads/AudioRecorder/js/recorderjs/recorderWorker.js' cannot be accessed from origin 'null'. at new Recorder (file:///home/kaspary/Downloads/AudioRecorder/js/recorderjs/recorder.js:34:18) at gotStream (file:///home/kaspary/Downloads/AudioRecorder/js/main.js:152:21)