Versions Compared

Key

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

...

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

...

  1. Add a single-channel RTSP device to Axxon PSIM/Axxon One (for Axxon PSIM, see Configuring Receive multimedia receipt using stream via 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:
    1. IP address of the computer where the mediamtx service is running;

    2. port that is used by the service to send RTSP streams;

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

      Code Block
      rtsp://192.168.1.1:8554/stream


...

  1. Create a video capture device operating over the RTSP protocol (for Axxon PSIM, see Configuring Receive multimedia receipt using stream via RTSP protocol; for Axxon One, see Configuring connection of devices via RTSP).
  2. In its settings, specify the URL copied from the mobile client.

...