JamesBrill / react-speech-recognition

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

isMicrophoneAvailable is not working as docs suggest. #170

Open maariyadiminsky opened 1 year ago

maariyadiminsky commented 1 year ago

@JamesBrill According to the docs this should be false if the user does not give permission but it is still true.

To reproduce:

theisof commented 9 months ago

I got the same problem so created this hook to get the permission state via the Permissions API. Feel free to use it.