问题描述
我正在开发一个项目,要求音频数据通过HTTP传输到服务器/从服务器传输。我们需要使用SPEEX压缩音频数据。 / p>
在Flash中,我们可以使用Alchemy和LibSpeex,但我们如何在JavaScript中完成它。 HTML5可以使用。
谢谢。
最近,我使用Speex的以下JS端口实现了一个成功的HTML5 / VOIP客户端,真是太棒了: a href =https://github.com/jpemartins/speex.js =nofollow noreferrer> https://github.com/jpemartins/speex.js
现在你需要等待MediaStreamRecorder或像我一样跳枪,并使用它:
至于你如何将整件物品拼成一个光滑的系统,请致电:)
希望我已经帮助过了
I'm working on a project that requires audio data to be streamed via HTTP to/from server.
We need to compress the audio data using SPEEX.
In Flash, we can use Alchemy and LibSpeex, but how can we do it in JavaScript. HTML5 can be used.
Thanks.
Peter
I recently implemented a successful HTML5/VOIP client using the following JS port of Speex, truly awesome stuff:
https://github.com/jpemartins/speex.js
For now you'll need to either wait for MediaStreamRecorder or jump the gun like I did, and make use of this:
https://github.com/jwagener/recorder.js/
As for how you piece the whole lot together into a slick system, your call :)
Hope i've helped
这篇关于如何调用SPEEX音频解码/ HTML5 / JavaScript编码(无Flash)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!