The state is already inactive, add a state determination console.log(mediaRecorder.state); if(mediaRecorder.state!="inactive"){ mediaRecorder.stop(); }
The state is already inactive, add a state determination console.log(mediaRecorder.state); if(mediaRecorder.state!="inactive"){ mediaRecorder.stop(); }