MediaMTX
Ready-to-use, zero-dependency real-time media server and proxy to publish, read, record, playback and route video/audio streams over SRT, WebRTC, RTSP, RTMP, HLS, MPEG-TS, RTP.
What is MediaMTX?
MediaMTX is a free and open-source self-hosted media streaming service. It's written mainly in Go and released under the MIT license. The project has 20.7K stars on GitHub and 2.5K forks, and its last commit landed 2 days ago. Our maintenance health score is 97/100 (thriving). It can be deployed with Docker.
How to self-host MediaMTX
- 1. Get a server. A $5/month VPS or any always-on machine at home works for most single-user setups.
- 2. Install it. MediaMTX ships Docker images — grab the
docker-compose.ymlfrom the repository and rundocker compose up -d. - 3. Add HTTPS. Put it behind Caddy, Traefik or Nginx Proxy Manager.
- 4. Back up. Schedule backups of its data volume and database — self-hosting means you own recovery too.
MediaMTX FAQ
Is MediaMTX free?
Yes. MediaMTX is open-source (MIT), so you can download, self-host and modify it for free. You only pay for the server you run it on.
How do I self-host MediaMTX?
The quickest route is Docker: MediaMTX ships container images, so a single docker-compose file on any Linux VPS or home server gets you running. Supported platforms/stacks: Go, Docker. Put it behind a reverse proxy such as Caddy, Traefik or Nginx Proxy Manager for HTTPS, and back up its data volume regularly.
Is MediaMTX still maintained?
MediaMTX's last commit was 2 days ago and its latest release (v1.21.4) shipped 9 days ago. Its health score is 97/100, which we rate as “Thriving”.
What are the best alternatives to MediaMTX?
Popular alternatives to MediaMTX include SRS (★ 29.5K), Stash (★ 13.5K), Owncast (★ 11.7K), koel (★ 17.4K), Jellyfin (★ 59.6K). Compare them side by side on this page.
MediaMTX alternatives
All media streaming service →A simple, high efficiency and real-time video server, supports RTMP, WebRTC, HLS, HTTP-FLV and SRT.
★ 29.5KC++MITThrivingA web-based library organizer and player for your adult media stash, with auto-tagging and metadata scraping support.
★ 13.5KGoAGPL-3.0ThrivingDecentralized single-user live video streaming and chat server for running your own live streams similar in style to the large mainstream…
★ 11.7KGoMITThrivingMedia server for audio, video, books, comics, and photos with a sleek interface and robust transcoding capabilities. Almost all modern…
★ 59.6KC#GPL-2.0ThrivingOvenMediaEngine is a selfhostable Open-Source Streaming Server with Sub-Second Latency.
★ 3.3KC++AGPL-3.0Thriving