Back to All Guides
softwareAugust 16, 20268 min readRTSPLink Engineering

MediaMTX (rtsp-simple-server) Complete Streaming Server Guide

Publish and consume RTSP, WebRTC, HLS, and LL-HLS video feeds with the industry-standard open-source media server.

#MediaMTX#rtsp-simple-server#WebRTC#HLS#Streaming Server
Live Stream Workbench

Need a live RTSP stream link right now to test this setup in VLC or OpenCV?

Test Live Stream

#1MediaMTX On-Demand Proxy Path

Configure mediamtx.yml to automatically pull an RTSP camera stream only when a client connects:

mediamtx.yml
paths:
  camera1:
    source: rtsp://admin:password@192.168.1.64:554/Streaming/Channels/101
    sourceOnDemand: yes
    sourceOnDemandStartTimeout: 10s
    sourceOnDemandCloseAfter: 10s

Ready to test your live RTSP video stream?

Generate free authenticated RTSP links with unlimited bandwidth and inspect frame timestamps in seconds.

Generate Free RTSP Link

Related Tutorials & Setup Guides

View all 100+ guides