JamesBrill / react-speech-recognition

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

It is not working in windows 10 Home version 21H2 #133

Closed MohammedAliBinTaleb closed 1 year ago

MohammedAliBinTaleb commented 2 years ago

I use this package in my pc as windows pro version 21H1 and it is works fine but when I format my laptop and update in windows 10 21H2 and use this library for recording it is not working When i start recording voice it shut immediately after open recording rather than wait for user to add his voice

I hope @JamesBrill If you can solve this problem as soon as possible 🙏

Thanks for great package🌹

JamesBrill commented 2 years ago

Hi @MohammedAliBinTaleb Which browser are you using?

It would be unusual for the version of the operating system to affect how this library performs. One thing I've seen in the past is Windows "forgetting" microphone devices when being updated, which can prevent browsers from consuming voice data. It might be worth checking that Windows still knows about your microphone devices - you may need to re-register them in your system settings.

What happens if you try this Web Speech demo? If it works for you, then we can eliminate the missing microphone theory.

If it's not the microphone, perhaps you can share any error output in the console (if any).

MohammedAliBinTaleb commented 2 years ago

Hi @JamesBrill the problem has been solve when i switch browser from Edge to Chrome even Firefox give me same error but when i use Chrome It is work fine👍

JamesBrill commented 2 years ago

Ah yes, the Web Speech API is only supported in a few browsers. Surprised it doesn't work in Edge though - it used to a couple of years ago.

If you need voice support to work in all browsers, I recommend looking into a polyfill.

MohammedAliBinTaleb commented 2 years ago

yeah microsoft edge work when i use in my pc however it didn't work when i use my laptop so instead of using edge i use chrome and it works 👌

Criztiandev commented 2 years ago

Mine is Error occurred in recognition: network but my internet is fast ? Im using Edge