About MediaMTX
MediaMTX is a live media server and media proxy that publishes, reads, proxies, records and plays back real-time video and audio streams. It acts as a media router, taking a stream from one end and delivering it to the other, with an emphasis on efficiency and portability.
Streams can be published over Media-over-QUIC, SRT, WebRTC, RTSP, RTMP, HLS, MPEG-TS or RTP using tools like FFmpeg, GStreamer or OBS Studio, and they are converted automatically between protocols so viewers can read them in a different format. Several streams can run at once on separate paths, and recordings can be written to disk in fMP4 or MPEG-TS and played back later.
Operational features include hot configuration reloading, internal, HTTP or JWT authentication, a control API, Prometheus-compatible metrics, and hooks that run external commands when clients connect or publish. The Go program ships as a single executable for Linux, Windows and macOS and is released under the MIT license, so it can be self-hosted anywhere a binary runs.
Key features
- Protocol conversion between RTSP, RTMP, SRT and WebRTC
- Recording to fMP4 or MPEG-TS files
- Playback of recorded streams
- Internal, HTTP or JWT authentication
- Prometheus-compatible metrics and control API
- Single dependency-free executable
Good fit for
- Bridging camera streams into WebRTC or HLS
- Recording live streams to disk
- Routing OBS Studio output to several protocols
MediaMTX: questions and answers
- What is MediaMTX used for?
- MediaMTX is a zero-dependency live media server and proxy that routes real-time audio and video streams between protocols such as RTSP, RTMP, SRT and WebRTC. It is a good fit for bridging camera streams into WebRTC or HLS, recording live streams to disk and routing OBS Studio output to several protocols.
- Is MediaMTX open source?
- Yes. MediaMTX is open source under the MIT licence. Its source code is on GitHub at bluenviron/mediamtx and is written mainly in Go.
- Is MediaMTX free?
- Yes. MediaMTX is open source, so the software itself is free to use.
- Can I self-host MediaMTX?
- Yes. MediaMTX can be self-hosted on your own server or infrastructure; there is no official hosted version.
- What is MediaMTX an alternative to?
- MediaMTX is an open-source alternative to Wowza. Other open-source alternatives to Wowza include SRS, Ant Media Server and OvenMediaEngine.
- Is MediaMTX actively maintained?
- Yes. The most recent commit to MediaMTX was on 12 November 2026, and the latest release is v1.21.3, published on 25 October 2026. The project has 21k stars on GitHub, with 284 added in the last 30 days.
Open-source alternatives to MediaMTX
See all
SRS
Media & Streaming
SRS is a simple, high-performance, AI-driven real-time media server supporting RTMP, WebRT
MITvs Mux★ 29k
Ant Media Server
Media & Streaming
Ant Media Server — Ultra-low latency streaming engine with WebRTC (~0.5s), SRT, RTMP, HLS,
OSSvs Agora★ 4.7k
OvenMediaEngine
Media & Streaming
OvenMediaEngine (OME) is a Sub-Second Latency Live Streaming Server with Large-Scale and H
AGPL-3.0vs Mux★ 3.3k
FFmpeg
Video Editing
Mirror of https://git.ffmpeg.org/ffmpeg.git
OSSvs Klap★ 67k
OBS Studio
Video Editing
OBS Studio - Free and open source software for live streaming and screen recording
GPL-2.0vs vMix★ 79k
Go Livepeer
Open source
Official Go implementation of the Livepeer protocol
MITvs Mux★ 587
SaaS alternatives to MediaMTX
See all
Wowza
Media & Streaming
Streaming software and cloud services for live and on-demand video
SaaS
Castr
Media & Streaming
Live streaming platform with multistreaming, stream hosting and video on demand
SaaS
Restream
Media & Streaming
Multistreaming service that broadcasts live video to many platforms at once
SaaSRTMPS.IO
Media & Streaming
Send one live stream to a single RTMP or RTMPS endpoint and deliver it to many platforms at once
SaaS
StreamNeo
Media & Streaming
Cloud streaming software for running 24/7 live streams on YouTube
SaaS
Twitch
Media & Streaming
Live streaming platform for gaming, creators and esports with chat and subscriptions
SaaS

