Skip navigation
Currently Being Moderated

enforcing p2p only connections

Jun 27, 2011 9:09 AM

is there a property i can set somewhere to restrict my LCCS app to only p2p connections?  since the FMS connection incurs cost, i'd like restrict my app to p2p connections only.


and to that end, is there a port or range of ports that a firewall should set open to make p2p connections most likely?  any recommendations on ports/ips/hostnames that should be whitelisted on a firewall to ensure that a p2p connection can be established?


thanks in advance.

  • Currently Being Moderated
    Jun 27, 2011 9:15 AM   in reply to adam+k

    see my response to DrAlexGor post:


    again, best way to learn about p2p and connectivity with rtmfp  is to consult the documentation for FMS 4.x


    Regarding restricting access to rtmfp only, we don't really support that because we want to guarantee that you can always connect independently of the network. You can always listen for the connection success and close the connection if it's not RTMFP.

    Mark as:
  • Currently Being Moderated
    Jun 28, 2011 7:00 AM   in reply to Raff.

    I think that you can set requireRTMFP = "true" in <rtc:AdobeHSAuthenticator />


    I don't understand what's wrong with forcing users to use RTMFP.

    It will be nice if the service also allow us to do so on the room level so we can prevent unpredictable costs.

    Mark as:
  • Currently Being Moderated
    Jun 28, 2011 7:30 AM   in reply to Pablo P.

    Actually with the current version we always try rtmfp first and fallback to rtmps if we can't connect.


    Yes, we could add yet another option that says "don't try rtmps" but then you'll have users that would not be able to connect and wouldn't know why.

    Mark as:
  • Currently Being Moderated
    Jun 28, 2011 8:48 AM   in reply to adam+k

    @raf doesn't requireRTMFP work?

    Can I make sure clients won't be able to connect at all without RTMFP?

    I agree with adam, our client can't afford paying for RTMP connections so we have to force our users to use RTMFP.


    As I see it, you provide us with the technology and framework and it's up to us to use it and provide the best user experience.

    If a user can't connect, it's my job to explain him why and help him use my app.

    Mark as:
  • Currently Being Moderated
    Aug 27, 2011 7:46 AM   in reply to Pablo P.

    Me too would love to see some built in prompt for this so that I can require users to open those ports.


    Kind of like the Windows firewall exception popup as explained here:



    Flash can already prompt for access to user camera and user audio, why couldn't it prompt for opening ports?

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points