Skip to main content
Participant
February 14, 2008
Question

Help with setup for live streaming

  • February 14, 2008
  • 1 reply
  • 296 views
I'm trying to set up a live stream that's viewable on my website.
I have two machines behind a router with one being the webserver running FMS (windows 2003) and the other being the encoding machine running FME (windows XP).
When I set up FME, I put in the following as the url to the server "rtmp:// computernamewebserver/live/" with the session name being "test".
This has no problems connecting to FMS .

On the webserver/FMS, I created a *.swf file which basically contains just a flvplayback object with the URL set to "rtmp:// computernamewebserver/live/test".

Now after I publish this, I can view the video via the published html file from within the network, but when I try outside of the network, it doesn't work and I get no error messages so it's hard to debug.

I have port 80 forwarded to my webserver/FMS machine. I tried forwarding port 1935 to both my webserver/FMS machine and the FME machine with no success.
I've tried playing around with the rtmp URL by changing the computernamewebserver from the internally recognized computer name to the externally recognized URL to my webserver.

The solution is probably something simple, but since this is my first attempt at flash streaming, it's not obvious to me and I've tried searching for the solution. My suspicion is that there's some config file somewhere that I need to config that I don't know about or maybe it's some port issue. Neither of my machines have windows based firewall disabled.
    This topic has been closed for replies.

    1 reply

    Participating Frequently
    February 15, 2008
    "Now after I publish this, I can view the video..." Well this shows that FMS is working fine, so I am guessing that it is an outside network issue.

    "Neither of my machines have windows based firewall disabled. " I don't know if this is the cause either, as a host based firewall should prevent any connections from arriving, either by the internal lan or the external (well, at least I think that is the case, I dont know if windows still allows hosts on the same subnet to have local lan permissions or what they do with their crazy security model. That said it shouldn't be a problem.)

    I would try to just telnet to the port that you have open to make sure the connection can be established.
    telnet computernamewebserver 1935 (this should open up a socket, otherwise your port forwarding isnt working correctly.)

    If telnet works ok, perhaps its an issue with the swf. I would code the minimal things needed to just get a stream playing from the external network (perhaps just using the vod service, not the live, to make things simple).

    Hope that helps.
    99foreverAuthor
    Participant
    February 16, 2008
    So I tried to telnet and was able to get in with no problems...

    As you suggested, I focussed on the swf file...
    Turns out that my webserver was trying to access the SWF file and didn't have the rights to do it so I went into the security settings of that folder and enabled "read and execute" rights and now it works.

    Thanks.