Limiting Media Gateway connections - Security Center 5.9

Security Center Administrator Guide 5.9

Applies to
Security Center 5.9
Last updated
2022-10-25
Content type
Guides > Administrator guides
Language
English
Product
Security Center
Version
5.9

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

  • If you save the gconfig file on the machine hosting the Media Gateway role, the configuration is forwarded to all Agent machines. If you require a unique configuration on a specific Agent machine, you can save a modified gconfig file on the Agent machine.
  • Both RTSP and web interface connections are included in the total number of connections.

Procedure

  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.
    <?xml version="1.0" encoding="utf-8"?>
    <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.9\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.