Go to documentation repository
| Section | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
The RTSP Server object is used for transmitting video from Server server to remote workplaces workstations using the RTSP protocol. Use The use of the RTSP protocol allows viewing you to view video from IP cameras and video archive on remote clients by means of the Axxon PSIM software or using use video players that support this protocol. Transmitting Video gate archive Transmission of the archive of the Videogate and Backup archive is also supported.
If there is sound with a live video with audio or the archive is recorded with soundaudio, then video broadcast transmission with sound audio through RTSP Server is supported – for supported—for this specify the ID of microphone from which the archive is recorded when requesting video (see the table with requests examples). For proper operation of this feature set the VLC media Examples of addresses to view video from RTSP Server). For the audio to play correctly in VLC Media Player, set the VLC player compatibility mode checkbox checked in VLC Media Player (see item 14below).
| Note | ||
|---|---|---|
| ||
Transmitted video stream is to must be compressed using H.264, H.265, MPEG4, or MJPEG codecs. When you use MJPEG codec is in use, video of the height and/or width more than 2048 pixels is not supported. The client is to Client must reconnect to URL when the codec is changed. To view the archive via RTSP Server, the archive should 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 It is to be taken into account that while configuring each rtsp Server loads only one CPU core. To increase the number of rtsp streams several rtsp Server objects are to be created and configured , you must create several RTSP Server objects and configure them on several cameras. Each RTSP Server entity runs in a separate system process (StreamingServer.run).
| Info | ||
|---|---|---|
| ||
All ports mentioned below are specified using only natural numbers. |
...
Create To create the RTSP Server object as follows, do the following:
...
In the Cameras table, set the checkboxes next to
cameras, video from which
you want to display. If a camera has several streams, the default stream is
transmitted.
| Info | ||
|---|---|---|
|
If the default stream is changed on the settings panel of the |
corresponding Camera object |
after |
you apply RTSP Server settings, |
you must click the Apply button on the settings panel of the RTSP Server object |
to apply changes to it as well. See |
In the RTSP port field, specify the port via which the video is transmitted
.
| Info | ||
|---|---|---|
|
| The "Windows Media Player Network Sharing" |
| service can use the default port 554. |
| To enable broadcasting, you must change the port |
| or disable this service |
| . To disable the service, go to the Control panel |
| → Administrative Tools |
| → Services and double-click the service name and click the Stop button in the |
| window that opens. |
...
Features of the Multicast mode:
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:
Set the Multicast checkbox
. The Port column is displayed in the Cameras table.
Specify a data transmission port for each
camera in the Port field
. When you specify ports, note the following:
Even if you specify video data port
, you still must specify camera number in the data source address (see
| Info | ||
|---|---|---|
| ||
| Use of the Multicast mode allows decreasing Server load due to reduction of transmitted data |
| Info | ||
|---|---|---|
| ||
To get such 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\Axxon PSIM\Video\TransportProtocols registry section (for 64-bit system the path is HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\AxxonSoft\Axxon PSIM\Video\TransportProtocols) on computer where the Camera object is created. Detailed information on this parameter see in Changing the transport protocol used by IP-device section. |
| Info | ||
|---|---|---|
| ||
RTSP Server can translate both in Multicast and Unicast modes simultaneously. Receiving both these streams on the Axxon PSIM client is impossible due to RTSP key defining the mode (see the note above). However, the VLC player allows receiving streams in both modes in the same time. |
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:
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.
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).
...
Perform To specify the additional settings as followsadvanced settings of RTSP Server, do the following:
If the current time
must be sent to VLC Media Player instead of the frame time, then set the VLC player compatibility mode checkbox
. You can use this option when there are problems with playing back the archive received over RTSP in VLC Media Player.
If there are captions on the video (see Configuring captions display on a video image), set the Use captions track
checkbox to send them
together with video via RTSP Server and to display them in the receiving
app—VLC player.
Also, when this checkbox is set, time captions are added to the video image in the format
YYYYMMDDTHHMMSSZ.If the video is
archived (see
Examples of addresses to view video from RTSP Server), then the captions show the archive time.However, if the VLC player compatibility mode checkbox is set
together with the Use captions track
checkbox, the time in the captions is current.
| Note | |
|---|---|
|
| |
Correct video playback and captions operation are |
guaranteed in VLC Media Player version 2.0.0. |
These features are not guaranteed to work in other versions of VLC Media Player or other programs. |
| Info | |
|---|---|
|
| |
The delay when requesting a video via RTSP can also depend on the camera key frame rate (FPS) settings or the frame buffer size settings in the player. |
From the Source IP interface drop-down list, select the name of the network interface that
must be used to broadcast the RTSP server
.
If the RTSP Server is used for broadcasting the video data to the
ECHD
system, and the Video
surveillance servers are behind NAT, then it is necessary to specify the NAT settings:
In the IP
address field,
specify the IP address of the router that performs the NAT
broadcasting.
In the Port field, specify the port of the router, which is accessed by the client when executing the
ECHD requests.
| Info | ||
|---|---|---|
| ||
To enable the substitution of the router's specified IP address and port to the |
ECHD |
requests, it is necessary to set the corresponding checkbox |
on the settings panel of the Web |
- |
Server object—see Enabling the processing of SDC (ECHD |
Click the
Apply button to save the
settings.
In case any changeable setting should must be the same for several cameras, there is a possibility of bulk settingit can be duplicated. This feature is available for editable columns: Added, Gate, Port, Backup Archivearchive.
Perform bulk setting of cameras as follows: To specify the bulk settings, do the following:
To connect to Server and display video in the video player that supports RTSP protocol, specify the address of data source in the format given in the table:
...
Address
...
Example
...
Description
...
rtsp://127.0.0.1/1
...
Viewing default stream from Camera 1 if default port is in use.
...
Viewing default stream from Camera 1 when broadcasting in Multicast mode if default port 555 is in use.
Note. Connection to the RTSP stream is performed via the broadcasting adapter IP-address, not by the destination IP which is specified in the settings panel of the RTSP Server and is used internally.
...
rtsp://127.0.0.1:554/archive?id=1&time_begin=2011.11.11-11:11:11&&time_end=2011.11.11-11:12:00
...
Viewing video archive from Camera 1 for specified time period.
...
VLC player compatibility mode must be enabled to view in VLC Media Player.
| Info | ||
|---|---|---|
| ||
If 554 port is in use (default value), it can be not specified in the address line. In the examples given above specify the IP address of the computer where the RTSP Server object is instead of 127.0.0.1. |
The figure shows how to view video from the Server.
Bulk settings are complete.