Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section


Column
width45%


Panel
borderColor#CCCCCC
bgColor#FFFFFF
titleBGColor#F0F0F0
borderStylesolid
titleOn this page:
Table of Contents
minLevel3



Column

...



Go to the mobile application settings by clicking the Image Added button or on the information panel Image Added.

The screen with the following settings will open:

  • Connection—the streamer mode and its settings.
  • Video parameters—the transmitted video settings.
  • Help—language and version of the application.
Note
titleAttention!

To ensure the correct operation of the application, the time on the Android device and the Axxon PSIM/Axxon One

...

server must be synchronized.

Streamer settings (Connection)

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:

Image Added

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:

On the server that will receive the stream:

  1. Make sure that ports 1935 and 8554 on the computer are not blocked by the firewall and are not occupied by other software. These ports are used by default for RTSP data transmission, and are also used as an example in this instruction.
  2. Download the latest version of the

    https://github.com/bluenviron/

    mediamtx

    /releases

    service from GitHub and run mediamtx.exe.

    Note
    titleAttention!

    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:

  1. In , in the Connection settings group, enable the RTMP streamer mode.
  2. Image Removed

    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:

  1. Add a single-channel RTSP device to Axxon PSIM/Axxon One (for Axxon PSIM, see Configuring multimedia receipt using RTSP protocol; for Axxon One, see Configuring connection of devices via RTSP).
  2. For this device, set a URL of the form rtsp://<IP address>:<Port>/stream_id, which contains: receiving side, use an URL address in the following form:
    Code Block
    rtsp://192.168.1.1:8554/streamId
    where:instead of 192.168.1.1, specify the
      1. IP address of the computer where the mediamtx service is running;

      instead of
      1. port

      8554, specify the same port
      1. 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:

      1. unique identifier for the video stream from this mobile client.
        Example:

        Code Block
        rtsp://
      Code BlockIP address
      1. 192.168.1.1
      /streamId, Port 8554.

      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.

      Info
      titleNote
      For details about configuring IP cameras in Axxon One see Adding and removing IP devices, in Axxon PSIM see Configuring IP-devices.
      1. :8554/stream


    Video transmission in RTSP server mode

    Configure the mobile client as followsTo use a mobile device as an RTSP server, do the following:

    In the mobile client:

    1. In , in the Connection settings group, enable the RTSP server mode.
      Image Removed
    2. If necessary, change the RTSP server port. The default port is 1935.
    3. The mobile client displays the URL for setting up a Use the address from the RTSP server url field to set the connection to Axxon PSIM/Axxon One. To copy it, click on the RTSP server url area.

    On the Configure Axxon PSIM/Axxon One server as follows:

    1. Create a video capture device operating over the RTSP protocol (for Axxon PSIM, see Configuring multimedia receipt using 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 In its settings, specify the URL copied from the mobile client.

    Video parameters

    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:

    • Main camera resolution: 1920x1080
    • Front camera resolution: 1920x1080
    • Bitrate: 1 Mbps
    • FPS: 30

    You can change these parameters in Settings Video parameters.

    Application language

    By default, the application language is the same as the device's operating system language. You can change it in Settings Help Language.Image Removed