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.
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:
getUserMedia
streamMediaRecorder
, which would also allow to convert arbitrary sound files into Opus format on supported platforms together with AudioContext.decodeAudioData()