JamesBrill / react-speech-recognition

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

Audio is playing in low volume in iOS after using speech recognition start function. #179

Open raj-reactgeeks opened 1 year ago

raj-reactgeeks commented 1 year ago

Start recognition: SpeechRecognition.startListening({ language:'en', continuous: true })

Stop recognition: SpeechRecognition.stopListening();

Play audio: new Audio('welcome-english-audio.mp3').play();

I have tried with stopListening and abortListening before play an audio, but both not working. In case if iOS, after using start recognition, audio file is playing in very low volume.

Might be, need to remove microphone permission to fix it, but I tried using stop and abort recognition, but still getting low volume issue, please help.