I am trying to play an m4a(aac) audio file in flash. When I play the play the track with file kept in the same directory, it works fine. When I play the file placed on my localhost, it plays fine. But when I play it on a remote server, I get this in response whiel playing the file: NetStream.Play.FileStructureInvalid
Any idea what might be wrong?
yep, but as the mp4 container is different then the mp3 I assume that it could be the issue.. as it runs locally but
not on the remote location.. have a try and let me know
-
Ursprüngliche Nachricht----
Von: forums@adobe.com
Datum:
28.03.2011 08:25
An: "Tiago Dias"<tiago.dias@bluewin.ch>
Betreff: Re: Problem playing audio from server Problem playing audio from server
Thanks for the reply, but shouldn't the audio play before it is fully downloaded? Using NetStream object should stream
the audio, just like we have video streaming using the NetStream class...
Thanks for the reply. I am testing the way you mentioned to wait for the audio to download and then play it but I am not able to get how to make this thing work in NetStream class. I need to pass the URL in netstream.play() method. I tried downloading the file first using Loader and then play it but not working...
North America
Europe, Middle East and Africa
Asia Pacific