all groups > macromedia flash flashcom > june 2005 >
You're in the

macromedia flash flashcom

group:

progressive stream (RTMP)



progressive stream (RTMP) draven000
6/13/2005 7:06:16 PM
macromedia flash flashcom: Hi everyone,

glad to be back into flash programming, was side tracked for quite awhile.
I'm currently trying to stream a simple mp3.

here's the code I'm using
conn = new NetConnection();
conn.connect("rtmp:/mp3_sound"); * I've also tried rtmp://localhost/mp3_sound
myStream = new NetStream(conn);
myStream.play("mp3:mp3_sound/sound");

1.my application is called mp3_sound.
2.my fcs server's stream folder is still the default. c:\myapp\streams
3.the server is running.
4.I've tried a simple connect with a light to make sure a connection is
established, it works
5.the communication app inspector lists this application, no problems there
6.my mp3 is called sound

Does anyone have any idea what to try. I've installed the r2 updater for Flash
Comm also.
I can't see what the *** is wrong, nor can I figure it out.

dr?
Re: progressive stream (RTMP) OrfeoArgonauta
6/14/2005 12:29:49 PM
I think you should set the rtmp path to rtmp:/localhost with only one slash instead of rtmp://localhost with 2 slashes.
Re: progressive stream (RTMP) OrfeoArgonauta
6/14/2005 12:35:01 PM
oops, and also if the apps folder structure of MCS is the default, the path to
the streaming sound should be something like C:\program files\Macromedia\Flash
Communication Server MX\applications\mp3_sound\streams instead of
c:\myapp\streams
OA
Re: progressive stream (RTMP) draven000
6/22/2005 12:00:00 AM
hi., thanks for your response,

I've gotten the rtmp:/ working now, thanks..however,
I've tested it on a few dial up connections, and it's still fragmented when
they listen to it.

Perhaps the file bitrate is too high, is there anything else I should change
to optimize the rtmp for
dial up?

tia

Dr?
AddThis Social Bookmark Button