InvalidStateError: Failed to execute 'stop' on 'MediaRecorder': The MediaRecorder's state is 'inactive'

前端 未结 0 1576
野趣味
野趣味 2021-01-29 07:34
const [rec, setRec] = useState({});
const [onRec, setOnRec] = useState(true);
useEffect(() => {
    navigator.mediaDevices.getUserMedia({ audio: true })
        .then         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题