v1.19.1

SagiPolaczek/NeuralSVGv1.19.1Jun 10, 2026by github-actions[bot]

AI Summary

This release focuses on enhancing security, restoring compatibility for H264 streams, and adding support for the PROXY protocol across various network listeners.

Key Highlights

  • Added support for PROXY protocol v1/v2 on RTMP, RTMPS, RTSP, and RTSPS listeners
  • Restored support for H264 packetization-mode 0 with automatic remuxing
  • Improved anti-brute force authentication mechanism
  • Fixed race conditions when closing server sessions in Media-over-QUIC

New Features

  • Support for regex groups in every part of a source URL
  • PROXY protocol support for RTMP and RTSP listeners
  • H264 packetization-mode 0 support restored
  • Debug logging improvements for HTTP requests and responses
  • New dependency: github.com/pires/go-proxyproto

Full Release Notes

## Fixes and improvements

General

* support using regexp groups in every part of a source URL (https://github.com/bluenviron/mediamtx/issues/5766) (https://github.com/bluenviron/mediamtx/issues/5779)
* improve anti-brute force mechanism (https://github.com/bluenviron/mediamtx/issues/5835) delay authentication failure responses by a random amount of time, use the same anti-brute force mechanism with all users.
* limit size of HTTP requests shown in debug logs (https://github.com/bluenviron/mediamtx/issues/5858)
* print body of selected HTTP responses when log level is debug (https://github.com/bluenviron/mediamtx/issues/5859)

Media-over-QUIC

* fix race condition when closing server (https://github.com/bluenviron/mediamtx/issues/5836) some sessions were hanging if they were concurrently being closed by the remote peer.
* rename moqHTTPS2Address into moqHTTP2Address, moqHTTPS3Address into moqHTTP3Address (https://github.com/bluenviron/mediamtx/issues/5841)

RTSP

* support PROXY protocol (https://github.com/bluenviron/mediamtx/issues/5754) Support PROXY protocol v1/v2 on RTMP, RTMPS, RTSP, and RTSPS TCP listeners so real client IPs are visible when running behind L4 proxies (nginx stream, HAProxy, AWS NLB). 
* restore support for H264 packetization-mode 0 (https://github.com/bluenviron/mediamtx/issues/5846) (https://github.com/bluenviron/mediamtx/issues/5857) H264 streams with packetization-mode=0 cannot be routed with UDP since packets are too big. Inbound streams with packetization-mode=0 are blocked by the server since v1.19.0 but this caused compatibility issues with some cameras. The server is now able to receive such streams with TCP, and automatically remuxes them in streams with packetization-mode=1, which can be routed freely.

RTMP

* support PROXY protocol (https://github.com/bluenviron/mediamtx/issues/5754) Support PROXY protocol v1/v2 on RTMP, RTMPS, RTSP, and RTSPS TCP listeners so real client IPs are visible when running behind L4 proxies (nginx stream, HAProxy, AWS NLB). 

Dependencies

* code.cloudfoundry.org/bytefmt updated from v0.74.0 to v0.76.0
* github.com/bluenviron/gortsplib/v5 updated from v5.5.4 to v5.6.0
* github.com/pion/ice/v4 updated from v4.2.7 to v4.2.8-0.20260604162030-72f5001c4596
* github.com/pion/webrtc/v4 updated from v4.2.14 to v4.2.15
* github.com/quic-go/quic-go updated from v0.59.0 to v0.60.0
* golang.org/x/crypto updated from v0.52.0 to v0.53.0
* golang.org/x/net updated from v0.55.0 to v0.56.0
* golang.org/x/sync updated from v0.20.0 to v0.21.0
* golang.org/x/sys updated from v0.45.0 to v0.46.0
* golang.org/x/term updated from v0.43.0 to v0.44.0
* github.com/pion/dtls/v3 updated from v3.1.3 to v3.1.4
* github.com/pion/stun/v3 updated from v3.1.4 to v3.1.5
* github.com/pion/turn/v5 updated from v5.0.7 to v5.0.9
* golang.org/x/text updated from v0.37.0 to v0.38.0
* github.com/pires/go-proxyproto v0.12.0 added

## Security

Binaries are compiled from source code by the [Release workflow](https://github.com/bluenviron/mediamtx/actions/workflows/release.yml), which is a fully-visible process that prevents any change or external interference in produced artifacts.

Checksums of binaries are also published in a public blockchain by using [GitHub Attestations](https://docs.github.com/en/actions/concepts/security/artifact-attestations), and they can be verified by running:

```
ls mediamtx_* | xargs -L1 gh attestation verify --repo bluenviron/mediamtx
```

You can verify checksums of binaries by downloading `checksums.sha256` and running:

```
cat checksums.sha256 | grep "$(ls mediamtx_*)" | sha256sum --check
```