v1.13.1
bluenviron/mediamtxv1.13.1Jul 21, 2025by github-actions[bot]
AI Summary
Fixes recorder RAM exhaustion and browser compatibility issues, specifically endless loading in Firefox.
Key Highlights
- Limit maximum part size in recorder to prevent RAM exhaustion
- Fix endless loading in Firefox for HLS and WebRTC
- Fix generating timestamp for non-RTSP MPEG-4 video streams
- Support MPEG-4 Audio LATM tracks
Full Release Notes
## Fixes and improvements General * recorder: limit maximum part size (https://github.com/bluenviron/mediamtx/issues/4674) (https://github.com/bluenviron/mediamtx/issues/4760). this prevents RAM exhaustion. * fix generating timestamp of non-RTSP MPEG-4 video streams (https://github.com/bluenviron/mediamtx/issues/4758) RTSP * fix reading with RTSP and hashed credentials (https://github.com/bluenviron/mediamtx/issues/4698) (https://github.com/bluenviron/mediamtx/issues/4700) RTMP * fix compatibility with GStreamer rtmp2src / rtmp2sink (https://github.com/bluenviron/mediamtx/issues/1433) (https://github.com/bluenviron/mediamtx/issues/4718) HLS * add query params to iOS streams (https://github.com/bluenviron/mediamtx/issues/4708) * fix endless loading in Firefox (https://github.com/bluenviron/mediamtx/issues/4706) * muxer: set Content-Type of audio-only segments to audio/mp4 (https://github.com/bluenviron/gohlslib/issues/251) WebRTC * fix endless loading in Firefox (https://github.com/bluenviron/mediamtx/issues/4707) * fix re-establishing connection in iframe (https://github.com/bluenviron/mediamtx/issues/4721). Prevent a bug in Firefox in which, when the page is loaded in an iframe and the iframe is deleted and recreated, WebRTC is unable to re-establish the connection. UDP * mpegts: improve reader robustness (https://github.com/bluenviron/mediacommon/issues/222). detect and skip corrupted data without stopping reading. * support MPEG-4 Audio LATM tracks (https://github.com/bluenviron/mediamtx/issues/4403) (https://github.com/bluenviron/mediamtx/issues/4759) SRT * mpegts: improve reader robustness (https://github.com/bluenviron/mediacommon/issues/222). detect and skip corrupted data without stopping reading. * support MPEG-4 Audio LATM tracks (https://github.com/bluenviron/mediamtx/issues/4403) (https://github.com/bluenviron/mediamtx/issues/4759) Dependencies * code.cloudfoundry.org/bytefmt updated from v0.43.0 to v0.44.0 * github.com/bluenviron/gohlslib/v2 updated from v2.2.1 to v2.2.2 * github.com/bluenviron/gortsplib/v4 updated from v4.15.0 to v4.16.0 * github.com/bluenviron/mediacommon/v2 updated from v2.3.0 to v2.4.0 * github.com/golang-jwt/jwt/v5 updated from v5.2.2 to v5.2.3 * github.com/matthewhartstonge/argon2 updated from v1.3.2 to v1.3.3 * github.com/pion/rtp updated from v1.8.20 to v1.8.21 * github.com/pion/sdp/v3 updated from v3.0.14 to v3.0.15 * golang.org/x/crypto updated from v0.39.0 to v0.40.0 * golang.org/x/sys updated from v0.33.0 to v0.34.0 * golang.org/x/term updated from v0.32.0 to v0.33.0 * golang.org/x/net updated from v0.41.0 to v0.42.0 * golang.org/x/text updated from v0.26.0 to v0.27.0 * hls.js updated from v1.6.6 to v1.6.7 ## Security Binaries have been produced by the [Release workflow](https://github.com/bluenviron/mediamtx/actions/workflows/release.yml) without human intervention. You can verify that binaries have been produced by the workflow by using [GitHub Attestations](https://docs.github.com/en/actions/security-for-github-actions/using-artifact-attestations/using-artifact-attestations-to-establish-provenance-for-builds): ``` ls mediamtx_* | xargs -L1 gh attestation verify --repo bluenviron/mediamtx ``` You can verify the binaries checksum by downloading `checksums.sha256` and running: ``` cat checksums.sha256 | grep "$(ls mediamtx_*)" | sha256sum --check ```