I'm currently developing a web application using the WebkitSpeechRecognition API. The problem is, that when I first initialise the API with .start() and begin yelling into my microphone, it usually takes more than 20 seconds until the first .onresult is triggered. In this meantime, I want to give feedback to the user that the tool is booting up and tell him once he can start talking. Unfortunately, onresult is only triggered if there is a speech input, not if the user patiently waits in silence for the initialisation to finish. Is there a way to check if the recognition is ready to go?
Thanks a lot.