How to integrate the Google Speech Recognition API in a Webpage?

Viewed 191

I want to use the Google Speech Recognition API Google Speech API Reference into a Webpage by sending the request directly from the browser to Google.

Test requests using base64 encodes sample files already worked. I am trying to use https://github.com/higuma/ogg-vorbis-encoder-js to record a ogg and send it to the API.

The request itself is done by a simple ajax request.

Did anybody implement it already in a web-browser (I also need iOS support, which should be possible since Safari recently updated and now supports recording)?

At the moment i am a bit stuck since the api just answers "{}"

0 Answers
Related