JamesBrill / react-speech-recognition

💬Speech recognition for your React app
https://webspeechrecognition.com/
MIT License
645 stars 116 forks source link

Code works on Chrome desktop but not on Edge #121

Closed yuvalkry closed 2 years ago

yuvalkry commented 2 years ago

Hello,

The react app which uses react-speech-recognition works well with Chrome but no transcription when using Edge (v. 94) . The flag browserSupportsSpeechRecognition() is true but there is no transcription and the recognizer stops listening quickly.

This demo, https://codepen.io/Rumyra/pen/bCphe, works well so the browser does support speech recognition, but it doesn't work somehow with the library.

Thanks, Yuval

yuvalkry commented 2 years ago

Opened by mistake, sorry.

JamesBrill commented 2 years ago

Hi @yuvalkry Actually, I'd be interested to hear more about your experience with Edge. I don't think I've tested this library with Edge before - I've always trusted that it works after reading the browser support table here.

I will try to play with this library in Edge when I get access to my PC. Were you able to find a workaround for the issue you experienced?

yuvalkry commented 2 years ago

James, eventually it worked on Edge just as well.

Before, I tried with Hebrew - which is supported on Chrome but not on Edge (apparently). With English, it works well on Edge.

Thanks again and good luck! Yuval

Premrajcse commented 1 year ago

Hi Yuval, react speech recognition not works in Edge browser but it works in chrome. Mic is enabling and listening in edge but transcription not happening. Could we have any solution?