Media server for audio, video, books, comics, and photos with a sleek interface and robust transcoding capabilities. Almost all modern platforms have clients, including Roku, Android TV, iOS, and Kodi. , Source Code, Clients.
MediaMTX
MIT Docker Ready ★ 20,788 Stars Active · 2026-11-28Ready-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. , Clients.
- Tech Stack / Runtime
- Go/Docker
- Open-Source License
- MIT
- GitHub Health
- ★ 20,788 · 2,491 forks
Quick Docker Compose Reference for MediaMTX
# MediaMTX — Ready-to-use SRT / WebRTC / RTSP / RTMP / LL-HLS Media Server
services:
mediamtx:
image: bluenviron/mediamtx:latest
container_name: mediamtx
restart: unless-stopped
environment:
- MTX_RTSPTRANSPORTS=tcp
- MTX_WEBRTCADDITIONALHOSTS=127.0.0.1
ports:
- "8554:8554" # RTSP
- "1935:1935" # RTMP
- "8888:8888" # HLS
- "8889:8889" # WebRTC
- "8189:8189/udp" # WebRTC ICE
- "8890:8890/udp" # SRT
volumes:
- ./mediamtx.yml:/mediamtx.yml:ro MediaMTX System Requirements & Self-Hosting Guide
Deploy MediaMTX (4 GB+ RAM) →Recommended VPS
4 GB+ RAM
2 – 4 vCPU · $6 – $12/mo VPS
Deployment Method
Intermediate
Docker / Docker Compose (Recommended)
Commercial Use (MIT)
Yes — free for personal, internal company, and commercial use with attribution.
Maintenance Status
Active
Last commit: 2026-11-28
Frequently Asked Questions about MediaMTX
Is MediaMTX free to self-host for commercial use?
MediaMTX is released under the MIT license. Yes — free for personal, internal company, and commercial use with attribution. It has 20,788 GitHub stars and was last updated on 2026-11-28.
What VPS specifications do I need to self-host MediaMTX?
Based on its Go/Docker runtime and Media Streaming - Multimedia Streaming workload, we recommend at least 4 GB+ RAM and 2 – 4 vCPU (typically $6 – $12/mo VPS).
Does MediaMTX support Docker deployment?
Yes — MediaMTX supports Docker / Docker Compose (Recommended), making it intermediate to spin up on any Linux VPS.
Deploy MediaMTX on your own VPS
Run MediaMTX privately with full data control. Recommended starting footprint: 4 GB+ RAM ($6 – $12/mo VPS).
Best Value · 1-Click Docker
1 vCPU · 4 GB RAM · 50 GB NVMe
Includes built-in Docker & Coolify templates — ideal for beginners.
Lowest Cost / Performance
2 vCPU · 4 GB RAM · 40 GB NVMe
Unbeatable EU/US cloud pricing for high-traffic self-hosted stacks.
$200 Free Credit
1 vCPU · 1 GB RAM · 25 GB SSD
Clean developer UX with 1-click Marketplace Docker droplets.
More Open-Source Media Streaming - Multimedia Streaming
View all →Multimedia/Entertainment center, formerly known as XBMC. Runs on Android, BSD, Linux, macOS, iOS and Windows. .
Web-based library organizer and player for your adult media stash, with auto-tagging and metadata scraping support. .
Turn your choice of Linux-capable hardware into an audio and video source for a television or powered speakers (alternative to Chromecast). ).
Innovative media browser designed for seamless streaming of anime, series and movies, offering advanced features like dynamic transcoding, auto watch history and intelligent metadata retrieval. .
Lightweight and very quick server to stream MJPEG video from any V4L2 device to the net.