MediaMTX is a ready-to-use and zero-dependency real-time media server and media proxy that allows
to publish, read, proxy, record and playback video and audio streams. It has been conceived as a
"media router" that routes media streams from one end to the other.
README
MediaMTX is a ready-to-use and zero-dependency real-time media server and media proxy that allows to publish, read, proxy, record and playback video and audio streams. It has been conceived as a "media router" that routes media streams from one end to the other.
MediaMTX is a real-time media server and proxy designed to publish, read, proxy, record, and playback video and audio streams. It functions as a versatile "media router," enabling seamless routing of media streams between various protocols and devices.
Key Features:
Supports multiple protocols including SRT, WebRTC, RTSP, RTMP, and LL-HLS for publishing and reading streams.
Handles a wide range of video codecs (e.g., H265, VP9, AV1) and audio codecs (e.g., Opus, AAC).
Enables live stream recording in formats like fMP4 and MPEG-TS, with support for on-demand playback.
Offers authentication mechanisms, Prometheus-compatible metrics, and a Control API for advanced management.
Supports hot reloading of configurations, allowing updates without disrupting active connections.
Audience & Benefit:
Ideal for developers integrating media capabilities into applications, streaming service providers requiring low-latency solutions, and organizations managing video surveillance or broadcasting systems. MediaMTX simplifies the handling of complex media workflows across diverse environments while maintaining minimal dependencies.
Installable via winget on Windows, MediaMTX provides a lightweight yet powerful solution for real-time media processing and distribution.
Monitor the server through Prometheus-compatible metrics
Run hooks (external commands) when clients connect, disconnect, read or publish streams
Compatible with Linux, Windows and macOS, does not require any dependency or interpreter, it's a single executable