Ready-to-use SRT / WebRTC / RTSP / RTMP / LL-HLS media server and media proxy that allows to read, publish, proxy, record and playback video and audio streams.
  • Go 93.2%
  • JavaScript 4.1%
  • HTML 1.9%
  • Makefile 0.4%
  • Dockerfile 0.3%
  • Other 0.1%
Find a file
Alessandro Ros 883194a19b
Some checks are pending
lint / go (push) Waiting to run
lint / go_mod (push) Waiting to run
lint / conf (push) Waiting to run
lint / docslinks (push) Waiting to run
lint / docsorder (push) Waiting to run
lint / apidocs (push) Waiting to run
lint / other (push) Waiting to run
test / test_64 (push) Waiting to run
test / test_32 (push) Waiting to run
test / test_e2e (push) Waiting to run
bump dependencies (#6113)
2026-08-18 11:53:43 +00:00
.github build(deps): bump actions/attest from 4.2.1 to 4.2.2 (#6054) 2026-08-08 11:14:45 +02:00
api moq: support pulling streams from other servers (#6111) 2026-08-18 13:23:40 +02:00
docker bump Alpine to 3.24 (#5853) 2026-06-15 19:02:39 +02:00
docs moq: support pulling streams from other servers (#6111) 2026-08-18 13:23:40 +02:00
internal bump dependencies (#6113) 2026-08-18 11:53:43 +00:00
scripts format imports (#6041) 2026-08-04 22:13:15 +00:00
.dockerignore support reading and publishing with Media-over-QUIC (#5815) 2026-06-02 23:04:24 +02:00
.gitignore support reading and publishing with Media-over-QUIC (#5815) 2026-06-02 23:04:24 +02:00
.golangci.yml format imports (#6041) 2026-08-04 22:13:15 +00:00
go.mod bump dependencies (#6113) 2026-08-18 11:53:43 +00:00
go.sum bump dependencies (#6113) 2026-08-18 11:53:43 +00:00
LICENSE remove hls.js from the repository and restore plain MIT license (#3008) 2024-02-12 00:31:13 +01:00
logo.png rewrite readme (#2015) 2023-07-02 14:03:53 +02:00
main.go change repository owner (#1801) 2023-05-16 16:14:20 +02:00
Makefile api: generate most of OpenAPI automatically (#5918) 2026-07-04 17:45:43 +02:00
mediamtx.yml moq: support pulling streams from other servers (#6111) 2026-08-18 13:23:40 +02:00
README.md support forwarding streams natively (#5558) 2026-08-04 21:57:15 +02:00
SECURITY.md docs: add security page (#4922) 2025-08-31 16:57:27 +02:00

MediaMTX

Website Test Lint CodeCov Release Docker Hub


MediaMTX is a ready-to-use and zero-dependency live media server and media proxy that allows to publish, read, proxy, record and playback real-time video and audio streams. It has been conceived as a "media router" that routes media streams from one end to the other, with a focus on efficiency and portability.

Features

  • Publish streams to the server with Media-over-QUIC, SRT, WebRTC, RTSP, RTMP, HLS, MPEG-TS, RTP, using FFmpeg, GStreamer, OBS Studio, Python , Golang, Unity, Web browsers, Raspberry Pi Cameras and more.
  • Read streams from the server with Media-over-QUIC, SRT, WebRTC, RTSP, RTMP, HLS, using FFmpeg, GStreamer, VLC, OBS Studio, Python , Golang, Unity, Web browsers and more.
  • Streams are automatically converted from a protocol to another
  • Serve several streams at once in separate paths
  • Reload the configuration without disconnecting existing clients (hot reloading)
  • Serve always-available streams even when the publisher is offline
  • Record streams to disk in fMP4 or MPEG-TS format
  • Playback recorded streams from disk
  • Authenticate users with internal, HTTP or JWT authentication
  • Forward streams to other servers
  • Proxy requests to other servers
  • Control the server through the Control API
  • Extract metrics from the server in a Prometheus-compatible format
  • Monitor performance to investigate CPU and RAM consumption
  • Run hooks (external commands) when clients connect, disconnect, read or publish streams
  • Compatible with Linux, Windows and macOS, does not require any dependency or interpreter, it's a single executable
  • ...and many others.