4 Replies Latest reply on Oct 10, 2008 7:36 AM by alexandre_fs

    Netstream.play() mp3 file


      I am having troubles playing an mp3 stream, using Netstream.play()
      According to AS 3.0 livedocs in Adobe...


      To play MP3 files, use mp3: before the stream name. To play the ID3 tags of MP3 files, use id3: before the stream name

      ( http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/NetStream.html)

      When I test playing a video stream (.flv), everything works fine.

      The error I get when I try to play an mp3 is:
      Failed to play (stream ID: 1) code: NetConnection.Call.BadVersion

      I tried every different type of combinations: stream.play("mp3:test.mp3"), (test), (test.mp3) and nothing works. However, only in "mp3:test" I get the Call.BadVersion error. On the other ones, simply it doesn't play nothing... It finds the file though... because I get some results in the event handlers that i don't get when I enter an invalid filename...

      My question is... What is "NetConnection.Call.BadVersion", and is it really possible to play an mp3 stream. Are there other methods?