I am trying speech to text conversion in reactjs web application using Web speech API . When I open application on Windows desktop, web speech API works without any problem. But when I open the same application on Android chrome browser, it recognizes the same speech multiple times. I think on android chrome browser, the intermediate results of web speech API are considered as final result.
This is from https://www.npmjs.com/package/react-speech-recognition.
The transcript contains duplicate words! There is a bug in Android Chrome that causes the Web Speech API to generate duplicate words in the speech recognition result. Possible workarounds:
Set the continuous option to false (This worked in my case) Detect Android Chrome and render fallback content on that browser