作者:赵智威_ | 来源:互联网 | 2023-05-18 02:08
IvebeenfollowingthebasicFMSinstructionstoloadanmp3andplayit.Thisisworkingverywell
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.
我一直在遵循基本的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);
1 个解决方案