mediamtx

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

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.

winget install --id bluenviron.mediamtx --exact --source winget

Latest 1.19.2·June 28, 2026

Release Notes

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 (bluenviron/mediamtx-rpicamera#114)

Dependencies

  • code.cloudfoundry.org/bytefmt updated from v0.76.0 to v0.78.0
  • github.com/abema/go-mp4 updated from v1.6.0 to v1.7.1
  • github.com/bluenviron/gortsplib/v5 updated from v5.6.0 to v5.6.1
  • github.com/bluenviron/mediacommon/v2 updated from v2.9.0 to v2.9.1
  • github.com/matthewhartstonge/argon2 updated from v1.5.4 to v1.5.5
  • github.com/pion/sdp/v3 updated from v3.0.18 to v3.0.19
  • github.com/quic-go/webtransport-go updated from v0.10.0 to v0.11.0
  • github.com/pion/srtp/v3 updated from v3.0.11 to v3.0.12
  • github.com/bluenviron/mediamtx-rpicamera updated from v2.6.0 to v2.8.0

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

Installer type: zip

ArchitectureScopeDownloadSHA256
x64Download53028B551AFCC8D9DDBD56EB8406D5B31E395E5505D52E28347F211696BE9345

Details

Homepage
https://github.com/bluenviron/mediamtx
License
MIT
Publisher
bluenviron
Support
https://github.com/bluenviron/mediamtx/issues
Copyright
Copyright (c) 2019 aler9

Tags

gogolanghlsmedia-serverobs-studiortcprtmprtmp-proxyrtmp-serverrtprtsprtsp-proxyrtsp-relayrtsp-serverstreamingwebrtc

Older versions (25)

1.19.1
ArchitectureScopeDownloadSHA256
x64DownloadCA3D89C370BF73DC33EF9EE87AFEA04834F21B129F499D4B645490FCB01CCE22
1.19.0
ArchitectureScopeDownloadSHA256
x64Download1E819779B6E5A2C693D7B1C19C4F917869325569C397BCC03E522F08F135E1C9
1.18.2
ArchitectureScopeDownloadSHA256
x64Download945AB46C5FC6D2802AD18E2F1D7E49245CA5609657D85E310AA6EDA4CDD72EEC
1.18.1
ArchitectureScopeDownloadSHA256
x64Download7F06A10FE43D0D1D698D1CC2655DEF6D4A66BE6DB2F3E7910C0B8C9C60052A36
1.18.0
ArchitectureScopeDownloadSHA256
x64DownloadB7F3CED82731252D1A56F59CD9E2658A6BF211DEA0E68394BCA40AEA35CC229B
1.17.1
ArchitectureScopeDownloadSHA256
x64Download5B8ADA2F1F175C71C45A18C45BE5C7A0C8E527C8A2E2644888BDAD017B3F842C
1.17.0
ArchitectureScopeDownloadSHA256
x64Download99B365BBBC1661FD2D2A1488FE70689998B9543971A7E064160131443FCAE312
1.16.3
ArchitectureScopeDownloadSHA256
x64Download185E649CE1DBB2904DBA0DABD042FFDCC3770CBF2CDD7645DFC4EB6172B25D86
1.16.2
ArchitectureScopeDownloadSHA256
x64DownloadC74469DEE69C8EC5A65912041C093BA5A411025F36B37B4EAD7686A1E4BDAEAD
1.16.1
ArchitectureScopeDownloadSHA256
x64DownloadD323902028C2C0062A0AE336132C38802D55319BC953EC04227DFF470F8331CC
1.16.0
ArchitectureScopeDownloadSHA256
x64Download6742C3AA3F4AE4F0ECCCFA698EEDED52F881C1ECE1316FC4D442E60018A2CD08
1.15.6
ArchitectureScopeDownloadSHA256
x64Download3E9895CFB38C50AB827AA0BE3324E13B16B72D210D6C14E1E8DBB2E8FDB79CEF
1.15.5
ArchitectureScopeDownloadSHA256
x64Download19CD9D1FBB76225380859109175B7547D2E68B4B70858BE4FA565604743ACF8D
1.15.4
ArchitectureScopeDownloadSHA256
x64Download097B7BF9B8D2E9F7EEC1CFE04CC0AAAA8C6B7DF2C95AA1ECFEF0910574B20912
1.15.3
ArchitectureScopeDownloadSHA256
x64Download2971F7B509BAA89F26CA6F099B6A6896039BE19EDD24BF982B65199826C59F04
1.15.2
ArchitectureScopeDownloadSHA256
x64Download4B10A4EA4693E1864425275F25260FEB456E3617DE8E97BC41429B7689A6BC27
1.15.1
ArchitectureScopeDownloadSHA256
x64Download2A1BFB39F9906517E16386FD2C3C6B09811F6556476AE3E46198C89E816933B2
1.15.0
ArchitectureScopeDownloadSHA256
x64Download2BA9A514C723507194BCD328E5969C4E5B35FC103A9B7DFA369459F5D40633E7
1.14.0
ArchitectureScopeDownloadSHA256
x64DownloadE38BCA2C9FFCCD25E30B75A09100B660B97BEAB9841248D76BBF176FEF1F46C3
1.13.1
ArchitectureScopeDownloadSHA256
x64Download2F19D3C5F762AE70911E5A5B7AD0F12E5DCAA31365EAC15BC22A1BD739F0592A
1.13.0
ArchitectureScopeDownloadSHA256
x64Download19C88EE17D012CA04F77F95F16BD5EFDDBF91EFFBD3BC603FEBA179FA6C014E8
1.12.3
ArchitectureScopeDownloadSHA256
x64DownloadD87B5080E5D2F2061B0EA6F4B64945D88ECF8053021B6A121A05B53ADB57D3BB
1.12.0
ArchitectureScopeDownloadSHA256
x64Download1CCA94D874B3FE5B32547159CE2070A3E87D0BF746AEB53E077CA4680A372D6E
1.11.3
ArchitectureScopeDownloadSHA256
x64DownloadF9C690556FBE0EB8D409AEA5C1AE48AF16D985A80DB12A58C2793E15E0F3C4DE
1.9.3
ArchitectureScopeDownloadSHA256
x64DownloadAF2CE0DCE3201E10C39DAE4E6D8E52C983D6940B1FA0FDD7F3D16C87AC764626