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