doppelgunner / audio-react-recorder

Audio / Voice Recorder for ReactJS using Web Audio API
49 stars 42 forks source link

Failed to execute 'createMediaStreamSource' on 'AudioContext': parameter 1 is not of type 'MediaStream' #14

Open vishwasreddy101 opened 2 years ago

vishwasreddy101 commented 2 years ago

Getting this issue when I deployed my code in the Linux server, in local it's working fine...!!!

index.modern.js:92 Uncaught (in promise) TypeError: Failed to execute 'createMediaStreamSource' on 'AudioContext': parameter 1 is not of type 'MediaStream'. at AudioReactRecorder._this.setUpRecording (index.modern.js:92:1) at _temp3 (index.modern.js:221:1) at AudioReactRecorder._this.setupMic (index.modern.js:232:1) at AudioReactRecorder._this.start (index.modern.js:240:1) at AudioReactRecorder.doIfState (index.modern.js:368:1) at AudioReactRecorder.checkState (index.modern.js:361:1) at AudioReactRecorder.componentDidUpdate (index.modern.js:341:1) at commitLayoutEffectOnFiber (react-dom.development.js:23173:1) at commitLayoutMountEffects_complete (react-dom.development.js:24503:1) at commitLayoutEffects_begin (react-dom.development.js:24489:1) at commitLayoutEffects (react-dom.development.js:24427:1) at commitRootImpl (react-dom.development.js:26634:1) at commitRoot (react-dom.development.js:26502:1) at performSyncWorkOnRoot (react-dom.development.js:25934:1) at flushSyncCallbacks (react-dom.development.js:12104:1) at react-dom.development.js:25471:1