NetStream 从F​​MS中的流加载ID3信息

发布于 2024-07-23 05:36:24 字数 391 浏览 2 评论 0原文

我一直按照基本的 FMS 说明来加载 mp3 并播放它。 这非常有效。 我还有第二个 NetStream 实例 (id3Stream),它应该从同一个 mp3 加载 ID3 数据,但我得到的只是 StreamNotFound 错误。 为什么 mp3 可以流式传输并播放,但 id3 数据却“找不到”? 任何帮助,将不胜感激。

var url:String = "name_of_mp3";
// -- yay, I'm listening to the song
stream.play("mp3:" + url, position);
// -- boo, it's not found even though it's the same url
id3Stream.play("id3:" + url);

I've been following the basic FMS instructions to load an mp3 and play it. This is working very well. I've also got a second NetStream instance (id3Stream) that should load the ID3 data from the same mp3, but all I get is a StreamNotFound error. Why would the mp3 stream and play but the id3 data be "not found"? Any help would be appreciated.

var url:String = "name_of_mp3";
// -- yay, I'm listening to the song
stream.play("mp3:" + url, position);
// -- boo, it's not found even though it's the same url
id3Stream.play("id3:" + url);

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

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

发布评论

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

评论(1

⊕婉儿 2024-07-30 05:36:24

我不确定是否属于您的情况,但我听说某些版本的 FMS 存在 ID3v2 错误。 显然 FMS 3.5.2 修复了这个问题...来自 3.5.2 版本注释

2285061 个带有 ID3v2 标签的 MP3 文件
播放失败。

I'm not sure its your case, but I've heard that some versions of FMS have a bug with ID3v2. Apparently FMS 3.5.2 fixes this... from the 3.5.2 release notes:

2285061 MP3 files with ID3v2 tags
failed to play.

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