JamesBrill / react-speech-recognition

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

Does the speech recognition function work in Electron? #85

Closed wann2 closed 3 years ago

wann2 commented 3 years ago

I wonder whether this speech recognition function works in Electron.

JamesBrill commented 3 years ago

Hi @wann2 I don't believe the Web Speech API is supported in Electron, though I haven't experimented with it before.

If it doesn't, you do have the option of combining the latest release of react-speech-recognition with Azure Cognitive Services and this polyfill to enable that functionality in Electron. If you do, let me know how it goes - Electron is uncharted territory for this library.