The mobile client has two modes of operation: RTSP server and RTMP. The mode is selected in the mobile client settings.
To transfer video from the Android device camera to the Axxon PSIM/Axxon One server in the RTMP mode, do the following:
Download and install the livestream_setup.exe distribution kit with the Livestream and rtmp2rtsp services. The default services installation directory is C:\Program Files (x86)\Livestream.
Note
The Livestream service creates several virtual ONVIF cameras that are added to the Axxon PSIM/Axxon One server configuration. The rtmp2rtsp service receives the RTMP stream, then converts it to RTSP and directs it to the server's virtual ONVIF camera.
After you install the services, you can set the following parameters using the Windows system variables:
LIVESTREAM_ONVIF_COUNT \\ number of virtual ONVIF cameras, default = 5 LIVESTREAM_ONVIF_PORT \\ port of the first virtual camera. All other cameras receive the port in order, default = 1961
Attention!
After you start the services, the livestream.out.log file will appear in the installation directory. This file contains url for each camera to send and receive video from the Android device, for example:
onvif device started at port 1961 onvif device url = http://host:1961/onvif/device_service push video to url = rtmp://host:1935/TOKEN/1961 video url = rtsp://localhost:1937/TOKEN/1961
Port − the camera port number from the "onvif device url" string in the livestream.out.log file.
Note
For details about configuring IP cameras in Axxon One see Adding and removing IP devices, in Axxon PSIM see Configuring IP-devices.
To transfer video from the Android device camera to the Axxon PSIM/Axxon One server in the RTSP server mode, do the following:
In the RTSP server field (1), move the switch to the position
to use the RTSP server mode. If the switch is in the position , then the RTMP mode will be used.In the RTMP push url field (2), specify the value of the "push video to url" string from the file on the livestream.out.log server to use the RTMP mode. In the RTSP server mode, you can skip this parameter.
In the RTSP server port field (3) set the port number of the RTSP server. In the RTMP mode, you can skip this parameter.
The RTSP server url field (4) field contains the URL of the video stream in the RTSP mode. To copy it, tap on the field once.
Attention!
To ensure the correct operation of the application, make sure the time on the Android device and the Axxon PSIM/Axxon One server is synchronized.