I'm trying to use HTML5 Web Speech API's Speech Recognition.

I can't figure out why this code is not working. It is triggering the permission for requesting access to the microphone, but when I speak nothing is transcribed.

When I look in the console, there are no errors, but the console.log that happens when the speech recognition is stopped is triggered.

I think it is stopping prematurely.

Does anyone know what is going on and why it is not working?

Here is the JS:

It depends on webspeech.js, which is included in the jsfiddle.

Here is the JS Fiddle: http://jsfiddle.net/2sMXZ/3/

Here is the implementation code: