使用 Adob​​e AIR 进行 Shoutcast 流缓冲而不使用 Flash/Flex 播放器?

发布于 2024-09-30 10:51:47 字数 202 浏览 1 评论 0原文

我的应用程序是用 Adob​​e Air & 编写的。 JavaScript 并且不使用 Flash/Flex。 Air.Sound() 用于播放(shoutcast)音频流。 我正在寻找一种解决方案(不使用外部 Flash/Flex 播放器,因为)可以预加载(缓冲)几秒钟的音频流,以避免播放延迟并保持较低的内存使用率。

My application is written in Adobe Air & JavaScript and doesn't use Flash/Flex.
Air.Sound() is used to play (shoutcast) audio streams.
I'm looking for a solution (without using external Flash/Flex players, coz) that can preload (buffer) a few second of audio stream to avoid playback lags and keeping memory usage low.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

蓝眼睛不忧郁 2024-10-07 10:51:47

据我所知Air 2.5添加了音频和视频html5标签。

对于shoutcast和html 5音频,请参阅这个问题< /a>

编辑:显然 AIR 遗漏了音频/视频标签(因为它们是 Flash 的替代品,并且您可以在 AIR 上获得 Flash - 就像 adobe 看待它的方式)。所以我认为答案是没有闪光灯就无法做到这一点。即使它有音频标签,您也很可能需要调整服务器的输出流。

As far as I know Air 2.5 added Audio and Video html5 tags.

For shoutcast and html 5 audio see this question

Edit: Apparently AIR left out the audio/video tags (because they are an alternative to flash and you get flash on AIR - the way adobe looks at it). So I think the answer is you can't do it without flash. Even if it had the audio tag you'd most probably need to tweak the output streams from the server.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文