My problem is that I need to implement speech recognition with continuous listening. Hence, the Speech Recognition API is not an option because continuous listening with it on a mobile device is is generally not supported as the microphone constantly turns on and off.
Also tried to work around this by initiating it with continuous:false
and turning it back on as soon as it ends:
const recognition = new SpeechRecognition();
recognition.continuous = false;
recognition.onend= (event) => {recognition.start();}
recognition.start();
But it's no use.
Been wondering if it's possible to turn the microphone on a mobile keyboard on as soon as the keyboard opens.