Hi there, We are interested in adopting Opus into our web based application for speech recording. I'm wondering if there is a plan to port Opus encoder and decoder to Javascript using Emscripten in the near future? Best Regards, Rachel Wu ETS.org ________________________________ This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited. Thank you for your compliance. ________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/opus/attachments/20140613/77143d23/attachment-0001.htm
Timothy B. Terriberry
2014-Jun-20 19:30 UTC
[opus] port Opus to Javascript using Emscripten
Wu, Rachel wrote:> We are interested in adopting Opus into our web based application for > speech recording. I?m wondering if there is a plan to port Opus encoder > and decoder to Javascript using Emscripten in the near future?libopus compiles with Emscripten without any problems. Early work on a full player can be found here: https://github.com/maikmerten/ogv.js/tree/opus A live example of that code is here: http://maikmerten.de/opus-demo/ Be cautioned that that code doesn't work particularly well in Firefox at the moment because of <https://bugzilla.mozilla.org/show_bug.cgi?id=970773> (though of course Firefox has native Opus support). No one has done any work on an encoder in JS that I know of, but Firefox at least supports the Media Recorder API: <https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder_API>. I don't know if or when other browsers plan to add support for this API.