Limiting Media Gateway connections

You can limit the number of simultaneous live and playback connections that the Media Gateway role will accept by generating a configuration file (gconfig).

What you should know

To limit Media Gateway connections:

  1. Create the following mediagateway.gconfig file where n1 is the maximum simultaneous number of live connections and n2 is the maximum simultaneous number of playback connections that the Media Gateway role accepts.
    
    <configuration>
      <MediaGateway MaximumLiveSessionCount="n1" MaximumPlaybackSessionCount="n2"></MediaGateway>
    </configuration>
    NOTE:
    • The default value is 0 and allows an unlimited number of connections.
    • A negative value prevents any connections.
  2. Save the mediagateway.gconfig file to the Security Center installation folder.
    On a 64-bit machine, the default location is C:\Program Files (x86)\Genetec Security Center 5.8\ConfigurationFiles.
    NOTE:
    • Saving the file to the machine hosting the Media Gateway role configures that machine and all Agent machines.
    • Saving the file to an Agent machine configures only that machine.
  3. Restart the role.
    NOTE:
    • If you saved the gconfig file to the machine hosting the Media Gateway role, restart the role.
    • If you saved the gconfig file to an Agent machine, restart the machine.