Skip to main content
February 16, 2011
Question

Problem replacing Stratus by FMS4 server.

  • February 16, 2011
  • 3 replies
  • 1867 views

I’ve installed this application in my server:

http://www.adobe.com/devnet/flashplayer/articles/rtmfp_cirrus_app.html

but changing the reg.cgi file for this other version made in php:

http://active6.com/actionscript/the-adobe-stratus-beta-sample-app-and-phpmysql

All works properly when I use a connection to the stratus server in this way:

[Bindable] private var connectUrl:String = "rtmfp://p2p.rtmfp.net";

But my intention is to do it without the Stratus server. Then I’ve installed a FMS4 in my own server and I’ve changed the connectUrl string for this other one:

rtmfp://mydomainname/VideoPhoneLabs/_definst_

I’ve opened completely all the UDP and TCP ports in the router and in the server too, and deactivate the firewall and the result is that when I call the application from any computer in the LAN, all works perfectly, but when I do it from any other client from outside the local network through the internet, the connection is impossible.

Should I configure any parameters in the FMS4?

Where can the problem be?

Thank you very much for your suggestions.

Andrés.

    This topic has been closed for replies.

    3 replies

    Participant
    June 27, 2011

    Hi Andrés!

    Thank you for your post, looks like you are the only person with the same trouble as i have...

    Could you please give an advice:

    i am trying to use VideoPhoneLabs app with FMS4.

    This old VideoPhoneLabs version works with FMS4 well.

    But the latest VideoPhoneLabs version (with great echo cancellation feature) doesn't work - there is no call between 2 clients.

    In other words, when trying to call only this text appears in "status" tab of the call-recieving client:

    NetConnection event: NetStream.Connect.Success

    Connection from: 8f63487171497700144d210eaf87e90e4f72855631b63b1cd643d0866144df6d

    Though in case of successful call the text in "status" bar should look like this:

    Request: invite from: 8f0e9d002d7b47b05276173c229cddba031decdd75fb4682d2db4bdb2b28e479 (35325)

    Incoming stream event: NetStream.Play.Reset

    NetConnection event: NetStream.Connect.Success

    Connection from: 8f0e9d002d7b47b05276173c229cddba031decdd75fb4682d2db4bdb2b28e479

    Incoming stream event: NetStream.Play.Start

    That is the problem... 

    Great thanks in advance...

    sorry for poor English

    June 27, 2011

    Hello Denis

    I’m not really sure that your problem is the same. But let’s try this first:

    Open the following folder in your server:

    “C:\Program Files\Adobe\Flash Media Server 4\conf\_defaultRoot_”

    You’ll find there a file called: Adaptor.xml

    Open this file with any editor (notepad for example).  At the end of the file you’ll find a line with the following:

    <HostPort>:19350-65535</HostPort>

    You must change this line for this other one:

    <HostPort public="xxx.xxx.xxx.xxx:19350-65535">:19350-65535</HostPort>

    Replace xxx.xxx.xxx.xxx for your server’s external IP. Restart the FMS4 or if you don’t know how to do it restart the computer.

    Ensure that this range of UDP ports is opened in the Firewall for the server machine.

    If this does not solve your problem may be a different question.

    Regards.

    Andrés.

    March 1, 2011

    Problem fixed.

    The solution was editing de Adaptor.xml file placed in C:\Program Files\Adobe\Flash Media Server 4\conv\_defaulRoot_

    By default, the last row is:

              <HostPort>:19350-65535</HostPort>

    I changed if for this other one:

              <HostPort public="xxx.xxx.xxx.xxx:19350-65535">:19350-65535</HostPort>

    xxx.xxx.xxx.xxx is the external IP of my browser.

    Thank you everybody for your help and specially to you Brad.

    Regards.

    Participating Frequently
    February 18, 2011

    You say " but when I do it from any other client from outside the local network through the internet" - is it the case that firewall at client end is blocking the traffic - i mean at times there are firewalls which block certain outgoing traffic.

    February 18, 2011

    First of all thanks for your answer.

    I’ll put you an example: I switch on my netbook and connect it to my wifi (the server were the FMS4 runs is connected to the same router) I open any navigator and execute the application by calling its URL (http://mydomainname.com) and all works properly. Now, I take the same notebook and go for a walk and I connect this “micro-computer” to a public wifi or the router of any friend. I follow the same steps with the same computer and now the same application is not able to connect.

    All ports are opened and all firewalls deactivated. L

    Any idea?

    Is it necessary to configure any parameters in the FMS4 in order to get external calls?

    Thanks again.

    Regards.

    Andrés.

    February 22, 2011

    Hello,

    Just to confirm -- When you attempt to run a copy of the app that uses your altered http address and rtmfp://p2p.rtmfp.net it works, but when you just change the connection URI it stops working?  Do you have any VPN tunnels or static routes from your LAN to where your FMS is hosted that would give you a privledged connection to your FMS server  (i.e. bypass firewalls/NATs)?  From reading it, it sounds like the public wi-fi's and other friends routers that you're using is blocking the RTMFP connection, or that there's a routing configuration at your FMS server that responds differently to public networks than your LAN.

    Thanks