| Telmo Dias 2006-05-16, 1:11 am |
| Hi again,
Thanks anyway, I found it was a problem with that specific MP3 file. I
tried another file and it worked good. The only thing messy here is that
it used to work back on FMS2.
Thanks.
Telmo
-------- Original Message --------
Subject: Flash Comm 1.5 MP3 Streams
Date: Tue, 16 May 2006 00:25:15 +0100
From: Telmo Dias <tdias-o+sLcrC9DDQ@public.gmane.org>
To: flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
Hi all.
I'm a beginer in FCS / FMS.
I'm currently working on a website which will enable users to browse
music and to play it through FCS/FMS.
The thing is I have been able to play MP3 files through Flash Media
Server 2, but now my client said he has a FCS 1.5 license and he would
rather try to use that server then to buy a FMS2 license, and after a
couple of tries, I haven't been able to put the music to play.
This is what the App Inspector shows:
Client disconnected
Client Connected: telmo 123
Client Accepted: telmo 123
New NetStream created (stream ID: 1).
Playing and resetting britney/toxic.
Started playing britney/toxic.
Stopped playing britney/toxic.
Inside my app dir I have created another dir named streams, and inside
that, one named britney, and inside that I have a file named toxic.mp3 .
On the stage I have a MC with instance name "audio_mc", and this is the
code I'm trying to use, which worked well on FMS :
_global.normal_server = "rtmp://localhost/xpto";
_global.normal_nc = new NetConnection();
_global.normal_nc.connect(_global.normal_server,"test","123");
mystream2_ns = new NetStream(normal_nc);
mystream2_ns.setBufferTime(5);
audio_mc.attachAudio(mystream2_ns);
mystream2_ns.play("mp3:britney/toxic");
Can someone give a small hand here?
Thanks a lot.
Telmo Dias
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
|