You can configure the Media Gateway role from the Video task in Security Center Config Tool.
Media Gateway - Properties tab
Click the Properties tab to enable the RTSP protocol on the Media
Gateway and to configure the stream settings used by the Media Gateway to transcode video
streamed to Web
Client applications.
- RTSP
- RTSP protocol settings.
- Enable
- This switch is turned off by default for security reasons. Turn it on to see the other settings.
- Start multicast address
- Start multicast address and port number for IPv4 and IPv6. In multicast, all video sources are streamed to different multicast addresses using the same port number, because multicast switches and routers use the destination IP address to make their routing decisions. Similarly, the Media Gateway assigns that same port number to all streaming cameras, starting with the specified IP address and incrementing the IP address by 1 for each new camera it encounters.
- Listening port
- Incoming TCP command port used by the Media Gateway.
- User authentication
- This switch is turned on by default for security reasons. When the switch is on,
only users listed in the Accessible to list can connect to
the Media Gateway. When the switch is off, anyone can connect to the Media Gateway
without credentials. NOTE: The cameras that an RTSP client application can view in the system depend on the user account the client uses to log on to Security Center. Assign a new password to each user account added to the Accessible to list, preferably a different password than the one used for connecting to Security Center. The password you assign is only used for interacting with the Media Gateway role and does not replace the password set in the User management task.
- HTTP
- HTTP ports and URL settings.
- Use the default web ports of the server
- By default, the Media Gateway
communicates with the Mobile Server roles and Web
Client applications over HTTPS port
443 and HTTP port 80. These ports are defined on the servers that host the
Mobile Server and the Web Server roles respectively. If your IT policy requires
different ports, or there is some sort of conflict, you can change the ports.
Turn off the option to use the default ports, then change the HTTP port and
secure HTTP port settings.IMPORTANT: If you have an unsigned (invalid) SSL certificate and end-users monitor video in Web Client using Mozilla Firefox or Microsoft Edge browsers, ensure that the ports set on the Media Gateway match the ports on the Web Server.
- Web address
- Define the suffix of the URL used by the Mobile Server roles and Web
Client applications to connect to the
Media Gateway. The format of the URL is
host:port/web address; where host is
the IP address or host name of the server that hosts the Media Gateway role,
port is HTTP port 80 (default) or HTTPS port 443
(default), and web address is
media
(default).
- Video streaming
- Video settings for streaming video over HTTP. Only the Web
Client applications uses these settings. For
streaming to mobile devices, the Media Gateway follows the settings configured for the
Mobile Server role.
- General
- The Media Gateway streams video to the
Web
Client in either Low
quality or High quality, based on the resolution of the viewing
tile in the browser. If the resolution of the viewing tile is lower than the
Minimum resolution requested for high quality setting,
then the Low quality stream is used. Otherwise, the High quality
stream is used.Each type of stream is defined with the following:
- Default stream
- The camera stream to be used: Live, Recording, Remote, Low resolution, or High resolution.
- Maximum resolution for JPEG transcoding
- Maximum resolution permitted for this stream when the Media Gateway role must transcode the stream to MJPEG. Transcoding is performed if the camera stream is not using MJPEG or H.264 or when the user is controlling the PTZ or using a web browser that does not support H.264 decoding. If the selected camera stream has a higher resolution, the Media Gateway role also lowers the image resolution during transcoding before sending it to the Web Client.
- Low quality
- Default stream and maximum resolution applied to Low quality stream.
- High quality
- Default stream and maximum resolution applied to High quality stream.
Media Gateway - Resources tab
Click the Resources tab to
configure the servers assigned to this role.
The Media Gateway role does not require a database.
- Servers
- Servers hosting this role.