About this project

MediaMTX is a ready-to-use, zero-dependency live media server and media proxy designed as a "media router" that routes real-time video and audio streams between endpoints with a focus on efficiency and portability. Key capabilities include: - Publish streams via Media-over-QUIC, SRT, WebRTC, RTSP, RTMP, HLS, MPEG-TS, and RTP using tools such as FFmpeg, GStreamer, OBS Studio, Python, Golang, Unity, web browsers, and Raspberry Pi cameras. - Read streams via Media-over-QUIC, SRT, WebRTC, RTSP, RTMP, and HLS using FFmpeg, GStreamer, VLC, OBS Studio, Python, Golang, Unity, and web browsers. - Automatic protocol-to-protocol conversion. - Serve multiple streams simultaneously in separate paths. - Hot-reload configuration without disconnecting existing clients. - Serve always-available streams even when the publisher is offline. - Record streams to disk in fMP4 or MPEG-TS format. - Playback recorded streams from disk. - Authenticate users via internal, HTTP, or JWT authentication. - Forward streams to other servers and proxy requests to other servers. - Control the server through a Control API. - Extract metrics in Prometheus-compatible format. - Monitor CPU and RAM performance. - Run external command hooks on client connect, disconnect, read, or publish events. - Cross-platform: compatible with Linux, Windows, and macOS as a single executable with no dependencies or interpreters required.