samedi 29 août 2020

Web speech recognition automatically disconnects

So I have a project where I need to make a Web based Virtual Assistant. The problem is that the Web Speech Recognition Api automatically disconnects the microphone if it does not hear something in like 5 seconds (so I need to turn it back on). My question is how can I keep the mic active so that when I say the wake word it uses the next recognition result as a command. *Extra explication: -The mic should be always listening so that when I say the wake word it hears it. -If I don't speak for about 5 seconds the mic disconnects so I need to turn it back on manually (how to get rid of this auto-disconnect?) Thanks!




Aucun commentaire:

Enregistrer un commentaire