PDA

View Full Version : Livestream doesnt work


Alt-Ox
06-11-2009, 08:16 AM
Hello everybody

I'm just testing the "livestreams" which I got from FMS development samples.

The main.asc was copied from ...\samples\livestreams to ...\applications\livestreams.

When I export the swf on flash program (by hitting ctrl + enter) it seems to work since I can see my webcam recording.
However, If I publish this file, also the html one, they dont work anymore, I got a message stating it was unable to access rtmp://localhost/livestreams/.

The FMS is working fine.

Any idea to help?

Thanks

mr-webcam
06-11-2009, 07:47 PM
I think you will find that if you swf / html resides on the same machine as your fms server you should be using rtmp:/localhost/livestreams/
if your fms server resides on a remote machine use rtmp://your-flash sever-ip-address/livestreams/

Alt-Ox
06-11-2009, 08:30 PM
tks for your reply

yes, they are running on the same machine

the rtmp address which I'm using is rtmp://localhost/livestreams/

you mentioned the address rtmp:/localhost/livestreams/ with just one "/"

is that correct?
I mean, it works fine with rtmp://localhost/livestreams/ when hitting Ctrl + Enter on flash.

should I change the address whenever running via html?
it does not make too much sense.

tks

mr-webcam
06-11-2009, 08:51 PM
for local host connections use rtmp:/livestreams/
for remote fms server connections use rtmp://server-ip-address/livestreams/
If you dont get this correct your application wont be viewable from the internet