gpt4 book ai didi

javascript - 如何使用 jsmad?

转载 作者:塔克拉玛干 更新时间:2023-11-02 21:21:12 26 4
gpt4 key购买 nike

jsmad 是一个新的基于 JavaScript 的 MP3 解码器(GitHubdemo),但它似乎根本没有任何文档。我也无法真正弄清楚很多演示在做什么,而且实际的 JavaScript 似乎被缩小了。

有人可以在这里为只想播放 MP3 音频的人写一些文档吗?看起来像 a few people are giving up because of the lack of documentation .

最佳答案

我给 jsmad 的开发者之一 Amos Wenger 发了一封电子邮件,他是这样说的:

Hi there!

Yes, we are very much aware of the lack of documentation. There are two reasons for that:

First, the bad news: jsmad only does MP3 -> raw audio, whereas people expect a much more complete piece of software (similar to HTML5 audio, which does HTTP streaming, buffering, decoding, audio sink, UI controls, events etc.) As I mentioned in my jsmad slides at jsconf.eu, we need to flesh out several other components before we have a real competitor for Flash-based audio playback on your website. So in a way, the lack of docs is because we don't want end-users to start deploying it on their website just yet! It's not ready for prime time.

At ofmlabs (Official.fm's R&D division, among other stuff) we had a lot of internal projects going on, and have only recently been able to re-focus on open source. So that's the good news: we'll have more time to spend on stuff like jsmad, and will probably work on the missing parts (buffering, proper demuxing - probably via aurora.js, etc.)

As for 'docs', there are a little in my slides (mentioned above), and well mhd.js is not minified so you can always take a look at http://jsmad.org/mhd.js ;)

Cheers, Amos

所以看起来 jsmad 还没有公开使用,但我们可以期待在未来得到进一步的支持。 :)

关于javascript - 如何使用 jsmad?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7877940/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com