← Package directory
Available on winget

Install mediamtx

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.

Install with winget
winget install --id bluenviron.mediamtx
Upgrade
winget upgrade --id bluenviron.mediamtx
Uninstall
winget uninstall --id bluenviron.mediamtx

About mediamtx

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

What's new in 1.19.2

General - playback: fix panic when MP4 muxer flushes with no samples (#5867) - redact sensitive headers in HTTP debug logs (#5873) - fix(recordstore): decode timezone offset minutes correctly (#5884) - improve HTTP server performance (#5886) log incoming requests without cloning. - prevent truncation of 64-bit values on 32-bit platforms (#5902) RTSP - add rtspScale parameter to inject Scale header on PLAY (#5800) - client: switch automatically to TCP in case of H264 packetization-mode=0 (bluenviron/gortsplib#1086) - support VP8 streams with multiple partitions (https://github.com/bluenviron/mediamtx/issues/5426) (bluenviron/gortsplib#1090) - allow FU-A and STAP-A packets with H264 packetization-mode 0 (#5887) (bluenviron/gortsplib#1092) WebRTC - skip unresolvable webrtcAdditionalHosts entries instead of aborting (#5845) RPI Camera - support encoding primary stream with MJPEG (2/2) (#5892) - support encoding secondary stream with H264 (2/2) (#4485) (#5898) - add unified rpiCameraH264Profile, rpiCameraH264Level params (#5894) These replace rpiCameraHardwareH264Profile, rpiCameraHardwareH264Level, rpiCameraSoftwareH264Profile, rpiCameraSoftwareH264Level. - fix race condition that prevents decoding the stream (bluenviron/mediamtx-rpicamera#109) (#5861) When a player immediately connects to a newly-created stream, SPS/PPS might not be available, neither in the SDP and neither in-band. Prevent the issue by always sending SPS/PPS in-band. - improve performance by computing frame size once (bluenviron/mediamtx-rpicamera#111) - fix wrong timestamp being passed to openh264 (bluenviro...

Read release notes

Version history

Version Updated Notes
1.19.2 Unknown General - playback: fix panic when MP4 muxer flushes with no samples (#5867) - redact sensitive headers in HTTP debug logs (#5873) - fix(recordstore): decode timezone offset minutes correctly (#5884) - improve HTTP serve...
1.19.1 Unknown Fixes and improvements General - support using regexp groups in every part of a source URL (#5766) (#5779) - improve anti-brute force mechanism (#5835) delay authentication failure responses by a random amount of time, u...
1.19.0 Unknown New major features TODO Fixes and improvements TODO
1.18.2 Unknown New major features TODO Fixes and improvements TODO
1.18.1 Unknown General - prevent code injection in case of MTX_QUERY in hooks (#5707) When MTX_QUERY is used explicitly in hooks, for instance "curl http://something/?$MTX_QUERY", it can be used to inject arbitrary commands. MTX_QUERY...
1.18.0 Unknown New major features TODO Fixes and improvements TODO Security Binaries are compiled from source code by the Release workflow, which is a fully-visible process that prevents any change or external interference in produced...
1.17.1 Unknown Fixes and improvements General - prevent directory traversal attacks (#5602) Path names are used as part of paths in several components: in the recorder, in the playback server and in every HTTP-based component (WebRTC,...
1.17.0 Unknown WebRTC - support publishing multiple video/audio renditions (#5573) this allows to receive multiple video tracks from OBS Studio with the new WebRTC Simulcast feature introduced in v32.1.0. API - provide track details (#...
1.16.3 Unknown Fixes and improvements General - fill product version of Windows executable (#5167) (#5511) - improve JSON decoder performance (#5526) avoid decoding JSON twice. - fix panic when setting writeQueueSize to zero (#5360) (#...
1.16.2 Unknown Fixes and improvements General - support X-Forwarded-Proto in playback server (#4970) (#5445) allow reverse proxies to change the schema of URLs returned by the server through the X-Forwarded-Proto header. - make config...
1.16.1 Unknown New major features TODO Fixes and improvements TODO Security Binaries are compiled from source code by the Release workflow without human intervention. You can verify that binaries have been produced by the workflow by u...
1.16.0 Unknown New major features TODO Fixes and improvements TODO Security Binaries are compiled from source through the Release workflow without human intervention, preventing any external interference. You can verify that binaries h...
1.15.6 Unknown Fixes and improvements General - add structured logging (#5219) - fix 1-minute offset when recording a H264 WebRTC track (#5275) (#5278) - disable syslog logging on macOS (#5005) (#5295) - set syslog priority and do not...
1.15.5 Unknown Fixes and improvements General - apidocs: fix compatibility with OpenAPI 3.0 (#5210) double-precision numbers are now represented as double. - playback: support concatenating segments with long gaps (#5172) Thanks to the...
1.15.4 Unknown Fixes and improvements General - support multiple CORS origins (#5150) - add udpReadBufferSize parameter (#5129) this allows to set a global UDP read buffer, applied to every UDP socket. - extend udpReadBufferSize to Web...
1.15.3 Unknown New major features TODO Fixes and improvements TODO Security Binaries are compiled from source through the Release workflow without human intervention, preventing any external interference. You can verify that binaries h...
1.15.2 Unknown Fixes and improvements General - add self-upgrader (#3501) (#5035) this allows to upgrade MediaMTX to latest version by running ./mediamtx --upgrade - on Windows, do not look for configuration in linux paths (#5036) - do...
1.15.1 Unknown New major features TODO Fixes and improvements TODO Security Binaries are compiled from source through the Release workflow without human intervention, preventing any external interference. You can verify that binaries h...
1.15.0 Unknown New major features General - documentation has been moved to a dedicated website, https://mediamtx.org/ . The website content is based on markdown from the MediaMTX repository and can be edited through GitHub. RTMP - sup...
1.14.0 Unknown New major features TODO Fixes and improvements TODO Security Binaries have been produced by the Release workflow without human intervention. You can verify that binaries have been produced by the workflow by using GitHub...