SH SelfHostAlt
Sponsored Self-host any open-source app on Hostinger KVM VPS from $4.99/mo (1-Click Docker) →
MediaMTX logo

MediaMTX

MIT Docker Ready ★ 20,788 Stars Active · 2026-11-28

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. , Clients.

Category
Media Streaming - Multimedia Streaming
Tech Stack / Runtime
Go/Docker
Open-Source License
MIT
GitHub Health
★ 20,788 · 2,491 forks
#rtsp#rtp#rtcp#streaming#golang
Official docker-compose.yml

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.

More Open-Source Media Streaming - Multimedia Streaming

View all →
★ 59.9k Docker

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.

Replaces: Netflix
GPL-2.0 C#/deb/Docker
Details →
★ 21.6k

Multimedia/Entertainment center, formerly known as XBMC. Runs on Android, BSD, Linux, macOS, iOS and Windows. .

Replaces: Netflix
GPL-2.0 C++/deb
Details →
★ 13.5k Docker

Web-based library organizer and player for your adult media stash, with auto-tagging and metadata scraping support. .

AGPL-3.0 Docker/Go
Details →
★ 2.6k

Turn your choice of Linux-capable hardware into an audio and video source for a television or powered speakers (alternative to Chromecast). ).

BSD-3-Clause C++
Details →
★ 2.6k Docker

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. .

GPL-3.0 Docker
Details →

Lightweight and very quick server to stream MJPEG video from any V4L2 device to the net.

GPL-3.0 C/deb
Details →