JamesBrill / react-speech-recognition

💬Speech recognition for your React app

Home Page:https://webspeechrecognition.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

raj-reactgeeks opened this issue · comments

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.