Section | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Go to the mobile application settings by clicking the button or on the information panel .
The screen with the following settings will open:
Note | ||
---|---|---|
| ||
To ensure the correct operation of the application, the time on the Android device and the Axxon PSIM/Axxon One server must be synchronized. |
The mobile client has two modes of operationvideo transmission: RTSP server mode and RTMP . The mode is selected in the mobile client settings.mode.
To select a mode, click on the Streamer mode area:
To transfer video from the Android device camera to the Intellect Axxon PSIM/Axxon NextOne server in the RTMP mode, do the following:
On the server that will receive the stream:
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.
Info | ||
---|---|---|
| ||
The Livestream service creates several virtual ONVIF cameras that are added to the Intellect/Axxon Next 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:
Code Block |
---|
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. |
Note | ||
---|---|---|
| ||
|
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:
Code Block |
---|
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.
Info | ||
---|---|---|
| ||
For details about configuring IP cameras in Axxon Next see Adding and removing IP devices, in Intellect see Configuring IP devices. |
To transfer video from the Android device camera to the Intellect/Axxon Next 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.
...
title | Attention! |
---|
Download the latest version of the mediamtx service from GitHub and run mediamtx.exe.
Note | ||
---|---|---|
| ||
The devices on which the mediamtx service is running, the video server and the mobile client must be within the same network. |
The mediamtx service receives video streams from mobile devices via RTMP and sends the video to the server in the form of RTSP streams.
The service indicates the ports it uses, for example:
Code Block |
---|
2023/09/01 15:11:10 INF MediaMTX v1.0.1
2023/09/01 15:11:10 INF [RTSP] listener opened on :8554 (TCP), :8000 (UDP/RTP), :8001 (UDP/RTCP)
2023/09/01 15:11:10 INF [RTMP] listener opened on :1935
2023/09/01 15:11:10 INF [HLS] listener opened on :8888
2023/09/01 15:11:10 INF [WebRTC] listener opened on :8889 (HTTP)
2023/09/01 15:11:10 INF [SRT] listener opened on :8890 (UDP) |
Ports and other settings can be changed in the mediamtx.yml configuration file located next to the mediamtx service executable file.
In the mobile client:
In the Streamer settings, enter a URL of the form rtmp://<IP address>:<Port>/stream_id to which the video will be sent. Example:
Code Block |
---|
rtmp://192.168.1.1:1935/stream |
where:
192.168.1.1 is the IP address of the computer where the mediamtx service is running;
port 1935 is the port that is used by the service to receive RTMP streams;
stream is an arbitrary unique identifier for the video stream from this mobile client.
On the server side that will receive the stream:
IP address of the computer where the mediamtx service is running;
port that is used by the service to send RTSP streams;
unique identifier for the video stream from this mobile client.
Example:
Code Block |
---|
rtsp://192.168.1.1:8554/stream |
To use a mobile device as an RTSP server, do the following:
In the mobile client:
On the Axxon PSIM/Axxon One server:
By default, the mobile client uses the following parameters for transmitted video:
You can change these parameters in Settings → Video parameters.
By default, the application language is the same as the device's operating system language. You can change it in Settings → Help → Language
...
.