Skip to content

Android Support: Web Speech API #42

@djnugent

Description

@djnugent

I am using this library on Android Chrome and I wanted to leave information for future users.

Note: I am assuming all android tablets work the same so your results may vary.

When using the Web Speech API (the backend to this library), interim results are not returned properly. Basically, all results are classified as final, even the interim ones. Another weird behavior is that Android automatically ends your recording once speech is done.

This is not super great behavior, but thankfully it allows us to detect the true final result. So if isRecording gets set to false, then read the last result and it will be your final.

The only problem I have not been able to overcome is continuous transcription. Since Android forces your recording to end, you have to restart transcription to get the next result. This is kind of annoying because you hear a little beep every time android starts and stops it's transcription engine.

Anyway, thought I'd post here for future parties. I haven't tried the googleCloudAPI version of this library yet, but my guess is that it would fix these issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions