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?
I think you should set the rtmp path to rtmp:/localhost with only one slash instead of rtmp://localhost with 2 slashes.
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
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?
Don't see what you're looking for? Try a search.
|