Skip navigation
Currently Being Moderated

limit number of concurrent connection

Aug 23, 2006 11:26 AM

is there a way for me to limit the number of concurrent connections to the media server. my upload bandwitdh is about a meg so having too many connections just kills the whole thing. i would like to put a limit at 5 connections. is there a way to do this?
  • Currently Being Moderated
    Aug 23, 2006 1:59 PM   in reply to mita981
    Sure... you can do that.

    Do you want to limit total connections to the server, or do you want to limit things at the application level.

    I personally prefer to do things like this at the application level. You might use something like this:

    In your main.asc

    application.onConnect = function(clientObj){
    if (application.clients.length >=5){
    trace ("Too many users... rejecting new connection");

    Mark as:
  • Currently Being Moderated
    Jan 2, 2014 11:50 AM   in reply to JayCharles

    Hi Jay, i want to do this but for each applicaction.

    For example, I have livepkgr/webcam, livepkgr/Radio etc and I want to have a different limit per each

    is this possible?



    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