...
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 mode. The mode is selected in the mobile client settings.
To select a mode, click on the Streamer mode area:
To transfer video from the Android device camera to the Axxon PSIM/Axxon One server in the RTMP mode, do the following:
On the server that will receive the stream:
Download the latest version of the
https://github.com/bluenviron//releasesservice 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/0609/1901 15:5211:2910 INF MediaMTX v0v1.230.51 2023/0609/1901 15:5211:2910 INF [RTSP] listener opened on :8554 (TCP), :8000 (UDP/RTP), :8001 (UDP/RTCP) 2023/0609/1901 15:5211:2910 INF [RTMP] listener opened on :1935 2023/0609/1901 15:5211:2910 INF [HLS] listener opened on :8888 2023/0609/1901 15:5211:2910 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:
Specify the URL address to send the video to, for exampleIn 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/streamIdstream |
where:
instead of 192.168.1.1 address, specify is the IP address of the computer where the mediamtx service is running;
instead of port 1935 , specify is the same port that is used by the service to receive RTMP streams;
streamId stream is an arbitrary unique identifier for the video stream from this mobile client.
On the server side that will receive the stream:
Code Block |
---|
rtsp://192.168.1.1:8554/streamId |
IP address of the computer where the mediamtx service is running;
port
that is used by the service to send RTSP streams;
specify the same streamId that was set in the mobile application.
Add an RTSP device and 1_channel_device to Axxon PSIM/Axxon One, set the parameters as described in step 4. For example:
unique identifier for the video stream from this mobile client.
Example:
Code Block |
---|
rtsp:// |
192.168.1.1 |
Ports and other settings can be changed in the mediamtx.yml configuration file located next to the mediamtx service executable file. The devices on which the mediamtx service is running, the video server and the mobile client must be within the same network.
title | Note |
---|
:8554/stream |
Configure the mobile client as followsTo use a mobile device as an RTSP server, do the following:
In the mobile client:
On the Configure Axxon PSIM/Axxon One server as follows:
By default, In the mobile client , you can configure the resolution, frame rate and bitrate of the transmitted video.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.