A zero-dependency media server and proxy for publishing, reading, recording, and routing real-time audio and video.
MediaMTX is a self-hosted media server and proxy designed to publish, read, record, and route real-time audio and video streams. It functions as a media router that moves streams from one endpoint to another with a focus on portability and efficiency. The software is distributed as a single executable that runs on Linux, Windows, and macOS without requiring external dependencies or interpreters, making it easy to deploy across different operating systems.
Users deploy MediaMTX as a server to handle various streaming protocols for live broadcasting or internal routing. It supports publishing streams from a wide array of tools, including OBS Studio, FFmpeg, GStreamer, and Raspberry Pi Cameras, and allows clients to read those streams via web browsers or media players like VLC. The server can be managed through a dedicated Control API and supports hot reloading of configurations, which allows administrators to update settings without disconnecting existing clients.
Built with the Go programming language, the application is designed for high performance and low overhead. It is intended for developers, system administrators, and network engineers who need to manage live media traffic or create custom streaming pipelines. The inclusion of a Control API and Prometheus metrics allows it to be integrated into larger monitoring and automation frameworks, while the support for multiple paths allows the server to handle several distinct streams simultaneously.
MediaMTX serves as a versatile infrastructure component for real-time multimedia routing and distribution across diverse network environments.
Join our newsletter to get shiny new open source software delivered to your inbox. Unsubscribe anytime.