Documentation for AxxonSoft Mobile Clients.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

On this page:

Configuring the Axxon PSIM/Axxon One server

The mobile client has two modes of operation: RTSP server and RTMP. The mode is selected in the mobile client settings.

Video transmission in RTMP mode

To transfer video from the Android device camera to the Axxon PSIM/Axxon One server in the RTMP mode, do the following:

  1. Make sure that ports 1935 and 8554 on the computer are not blocked by the firewall and are not occupied by other software.
  2. Download the latest version of the https://github.com/bluenviron/mediamtx/releases service and run mediamtx.
  3. The 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:

    2023/06/19 15:52:29 INF MediaMTX v0.23.5
    2023/06/19 15:52:29 INF [RTSP] listener opened on :8554 (TCP), :8000 (UDP/RTP), :8001 (UDP/RTCP)
    2023/06/19 15:52:29 INF [RTMP] listener opened on :1935
    2023/06/19 15:52:29 INF [HLS] listener opened on :8888
    2023/06/19 15:52:29 INF [WebRTC] listener opened on :8889 (HTTP)
  4. In the mobile client, in the Connection settings group, enable the RTMP streamer mode.

    Specify the URL address to send the video to, for example:

    rtmp://192.168.1.1:1935/streamId

    where:

    • instead of 192.168.1.1 address, specify the IP address of the computer where the mediamtx service is running;

    • instead of port 1935, specify the same port that is used by the service to receive RTMP streams;

    • streamId is an arbitrary unique identifier for the video stream from this mobile client.

  5. On the receiving side, use an URL address in the following form:

    rtsp://192.168.1.1:8554/streamId


    where:

    • instead of 192.168.1.1, specify the IP address of the computer where the mediamtx service is running;


    • instead of port 8554, specify the same port that is used by the service to send RTSP streams;


    • specify the same streamId that was set in the mobile application.

  6. Add an RTSP device and 1_channel_device to Axxon PSIM/Axxon One, set the parameters as described in step 4. For example:

    IP address 192.168.1.1/streamId, Port 8554.

  7. 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.

    Note

    For details about configuring IP cameras in Axxon One see Adding and removing IP devices, in Axxon PSIM see Configuring IP-devices.

Video transmission in RTSP server mode

Configure the mobile client as follows:

  1. In the mobile client, in the Connection settings group, enable the RTSP server mode.
  2. If necessary, change the RTSP server port.
  3. Use the address from the RTSP server url field to set the connection to Axxon PSIM/Axxon One.

Configure Axxon PSIM/Axxon One server as follows:

  1. Create a video capture device operating over the RTSP protocol (for Axxon One see Configuring connection of devices via RTSP, for Axxon PSIM see Configuring multimedia receipt using RTSP protocol).
  2. Use the address from the RTSP server url field of the mobile client.

In the mobile client, you can configure the resolution, frame rate and bitrate of the transmitted video.

  • No labels