You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above error is coming when stopping and again listening to the microphone in useSpeechRecognition hook and there is the callback for result is not getting executed. I'm getting it even when using the examples provided in the docs. I'm on Microsoft Edge Version 81.0.416.64
The text was updated successfully, but these errors were encountered:
Unfortunately this appears to be a bug with Edge's implementation of the SpeechRecognition api. The following minimal example without react-speech-kit throws the same error.
constrecognition=newwindow.webkitSpeechRecognition();recognition.onstart=()=>{console.log('started');}recognition.onend=()=>{console.log('ended');}recognition.onresult=(e)=>{console.log('result',e);}recognition.start();// 'started' is logged but onresult is not triggered as you speakrecognition.stop();// 'ended' is not logged indicating that recognition hasn't been stopped properlyrecognition.start();// Uncaught DOMException: Failed to execute 'start' on 'SpeechRecognition': recognition has already started.
The above error is coming when stopping and again listening to the microphone in useSpeechRecognition hook and there is the callback for result is not getting executed. I'm getting it even when using the examples provided in the docs. I'm on Microsoft Edge Version 81.0.416.64
The text was updated successfully, but these errors were encountered: