react-speech-recognition icon indicating copy to clipboard operation
react-speech-recognition copied to clipboard

It is not working in windows 10 Home version 21H2

Open MohammedAliBinTaleb opened this issue 4 years ago • 5 comments

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🌹

MohammedAliBinTaleb avatar Jan 21 '22 18:01 MohammedAliBinTaleb

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).

JamesBrill avatar Jan 30 '22 12:01 JamesBrill

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👍

MohammedAliBinTaleb avatar Jan 30 '22 12:01 MohammedAliBinTaleb

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.

JamesBrill avatar Jan 30 '22 12:01 JamesBrill

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 👌

MohammedAliBinTaleb avatar Jan 30 '22 13:01 MohammedAliBinTaleb

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

Criztiandev avatar Mar 09 '22 01:03 Criztiandev