How can I use Opus Codec from JavaScript

Omar Al-Ithawi picture Omar Al-Ithawi · Dec 12, 2013 · Viewed 9.2k times · Source

I would like to see if it's possible to have direct access to Opus using getUserMedia or anything similar from the latest browsers.

I've been researching on it a lot but with no Good results.

I'm aware that either Opus or Speex are actually used in webkitSpeechRecognition API. I would like to do speech recognition but using my own server rather than Google's.

Answer

Rainer Rillke picture Rainer Rillke · Dec 24, 2014

So there are a lot of suggestions about Emscripten but nobody did, so I ported the encoder opus-tools to JavaScript using Emscripten. Dependent on what one has in mind, there are now the following opportunities: