Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section


Column
width50%


Panel
borderColor#CCCCCC
bgColor#FFFFFF
titleBGColor#F0F0F0
borderStylesolid
titleOn the page:
Table of Contents



Column


General information

The RTSP Server object is used for transmitting video from server to remote workstations using the RTSP protocol. The use of the RTSP protocol allows you to view video from IP cameras and video archive on remote clients by means of Axxon PSIM or use video players that support this protocol. Transmission of the archive of the Videogate and Backup archive is also supported.

If there is a live video with audio or the archive is recorded with audio, then video transmission with audio through RTSP Server is supported—for this specify the ID of microphone from which the archive is recorded when requesting video. For the audio to play correctly in VLC Media Player, set the VLC player compatibility mode checkbox (see below).

Note
titleAttention!

Transmitted video stream must be compressed using H.264, H.265, MPEG4, or MJPEG codecs.

When you use MJPEG codec, video of the height and/or width more than 2048 pixels is not supported.

Client must reconnect to URL when codec is changed.

To view the archive via RTSP Server, the archive must be recorded in the same codec. Otherwise, the archived video will not play back.

The time_begin and time_end time parameters must be specified in the UTC+0 format. If the archive is in a different time zone, you must specify the time taking into account the time difference. 

On the settings panel of the RTSP Server object, you must select the specified Backup archive for the corresponding camera.

The VLC player compatibility mode must be enabled to view videos in VLC Media Player.

Note that when configuring, each RTSP Server loads only one CPU core. To increase the number of rtsp streams, you must create several RTSP Server objects and configure them on several cameras. Each RTSP Server entity runs in a separate process (StreamingServer.run).

Info
titleNote

All ports mentioned below are specified using only natural numbers.

Creating the RTSP Server object

To create the RTSP Server object, do the following:

  1. In the context menu of the Computer object, select Create object  RTSP Server.
  2. Specify the name and ID of the object in the settings panel that opens.
    Image Modified
  3. Click the Apply button to create the object.

Configuring the Unicast mode

...

Features of the Multicast mode:

  1. To get a multicast video in Axxon PSIM (see Configuring multimedia receipt using RTSP protocol), set the multicast value to the RTSP parameter in the HKEY_LOCAL_MACHINE \SOFTWARE\AxxonSoft\PSIM\Video\TransportProtocols registry section (for 64-bit system the path is HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\AxxonSoft\PSIM\Video\TransportProtocols) on computer where the Camera object is created. For detailed information on this parameter, see Changing the transport protocol used by IP-device.
  2. RTSP Server can broadcast simultaneously in Multicast and Unicast modes. Receiving both such streams on the Axxon PSIM client is impossible due to RTSP key, which determines the connection mode (see above). However, the VLC player allows receiving streams in both modes at the same time.
  3. The ports that are assigned to each camera in this mode will not be displayed in the Windows OS Resource Monitor and other similar operating system resource monitors.

Using the Multicast mode allows you to reduce the load on the server by reducing the amount of transmitted data. To distribute the transmitted signal among different RTSP ports, do the following:

  1. Go to the settings panel of the RTSP Server object.
  2. Set the Multicast checkbox. The Port column is displayed in the Cameras table.

  3. Specify a data transmission port for each camera in the Port field. When you specify ports, note the following:

    1. The following ports are used for each camera in the Multicast mode: nPort, nPort + 18000 (rtp), nPort + 19000 (rtcp), where nPort is a port number specified for camera in the Port column.
      For the correct operation of RTSP server in the Multicast mode, these ports must be free.
    2. Specified ports are not addressed directly. Use RTSP port to get video from all cameras in the Multicast mode (see step 5).
    3. Even if you specify video data port, you still must specify camera number in the data source address.

  4. In the Receiver IP address field, specify the address from which the broadcast in the Multicast mode will be performed. Address must be in the range from 224.0.1.0 to 239.255.255.255. By default, the receiver IP is 224.0.1.150. When you specify Receiver IP address, note the following:

    1. 224.0.0.0-224.0.0.255 address range is reserved for routing protocols and other service protocols. You cannot set Receiver IP address from the specified range.

    2. RTSP server can broadcast only to one network simultaneously. The network with minimal metric is selected by default. To change the broadcast network, go to the Advanced settings tab (see below).

    3. When you configure several RTSP Servers in the Multicast mode, you must specify different values for them in the Receiver IP address and RTSP port fields.

     

  5. In the RTSP port field, specify the number of port through which video signal will be sent in the Multicast mode. When requesting video data from the camera using the RTSP protocol, it is necessary to specify this port. The system forwards the request to the port of the requested camera.

...