v1.11.2

bluenviron/mediamtxv1.11.2Jan 24, 2025by github-actions[bot]

AI Summary

Performance improvements for playback and WebRTC connectivity fixes, particularly addressing regressions on Windows and race conditions in packet handling.

Key Highlights

  • Improve playback performance
  • Fix WebRTC connectivity regression on Windows
  • Fix race conditions when writing packets to closed clients
  • Fix filtering when start date is earlier than first segment

New Features

  • Improve playback performance
  • Fix filtering when start date is earlier than first segment
  • Disable UDP when not needed
  • Fix setting video width, height and rate when publishing via browser

Full Release Notes

## Fixes and improvements

General

* playback: improve performance (https://github.com/bluenviron/mediamtx/issues/4152)
* playback: fix filtering when start date is earlier than first segment (https://github.com/bluenviron/mediamtx/issues/4173)
* av1: refactor Bitstream; fix marshaling OBUs with size field (https://github.com/bluenviron/mediamtx/issues/3886) (https://github.com/bluenviron/mediacommon/issues/172)

RTSP

* server: fix resetting writer when OnPlay fails (https://github.com/bluenviron/gortsplib/issues/683)
* client: fix panic when writing packets after connection error (https://github.com/bluenviron/gortsplib/issues/681)
* fix various race conditions when writing packets to closed clients or server sessions (https://github.com/bluenviron/gortsplib/issues/684)

HLS

* fix reading AV1 from OBS+WHIP (https://github.com/bluenviron/mediamtx/issues/3886) (https://github.com/bluenviron/mediamtx/issues/4177)
* client: skip unsupported tracks (https://github.com/bluenviron/gohlslib/issues/214)

WebRTC

* fix connectivity regression (https://github.com/bluenviron/mediamtx/issues/4161) (https://github.com/bluenviron/mediamtx/issues/4174). when webrtcLocalTCPAddress is filled, webrtcAdditionalHosts is not. empty and webrtcIPsFromInterfaces is false, connectivity was impossible. to achieve.
* fix setting video width, height and rate when publishing a camera with browser (https://github.com/bluenviron/mediamtx/issues/4167) (https://github.com/bluenviron/mediamtx/issues/4171)
* fix connectivity regression on Windows (https://github.com/bluenviron/mediamtx/issues/4150) (https://github.com/bluenviron/mediamtx/issues/4175). When MediaMTX is running on Windows and the machine has an IPv6, connectivity was impossible to achieve.
* disable UDP when not needed (https://github.com/bluenviron/mediamtx/issues/4176)

Dependencies

* build(deps): bump github.com/MicahParks/jwkset from 0.7.0 to 0.8.0 (https://github.com/bluenviron/mediamtx/issues/4155)
* build(deps): bump github.com/abema/go-mp4 from 1.4.0 to 1.4.1 (https://github.com/bluenviron/mediamtx/issues/4154)
* build(deps): bump github.com/pion/rtp from 1.8.10 to 1.8.11 (https://github.com/bluenviron/mediamtx/issues/4162)
* build(deps): bump github.com/MicahParks/keyfunc/v3 from 3.3.8 to 3.3.10 (https://github.com/bluenviron/mediamtx/issues/4156)
* build(deps): bump github.com/bluenviron/gortsplib/v4 (https://github.com/bluenviron/mediamtx/issues/4181)
* bump hls.js to v1.5.20 (https://github.com/bluenviron/mediamtx/issues/4185)
* build(deps): bump github.com/go-git/go-git/v5 from 5.13.1 to 5.13.2 (https://github.com/bluenviron/mediamtx/issues/4190)
* build(deps): bump github.com/bluenviron/mediacommon (https://github.com/bluenviron/mediamtx/issues/4193)
* build(deps): bump github.com/bluenviron/gohlslib/v2 from 2.1.2 to 2.1.3 (https://github.com/bluenviron/mediamtx/issues/4194)

## Security

Binaries have been produced by the [Release workflow](https://github.com/bluenviron/mediamtx/actions/workflows/release.yml) without human intervention.

SHA256 checksums:

* mediamtx_v1.11.2_darwin_amd64.tar.gz b6da12ac198c35cdeb29f41514491e88d94e083d038b448b6ddc7ed055151e95
* mediamtx_v1.11.2_darwin_arm64.tar.gz 3042f3607b9fcbe1d56df47e12b0b71132eedbf5772e1b4082f679facd533808
* mediamtx_v1.11.2_linux_amd64.tar.gz 08796713a1250f8f328e3a812b6cdd4f2925f323b003999929e2beb82dfa4c23
* mediamtx_v1.11.2_linux_arm64v8.tar.gz 3003d91cada7c298995a92d5bcddf9a439eda8e0f9a8dd6607188557e90155e0
* mediamtx_v1.11.2_linux_armv6.tar.gz b1510ea1d0fade23e98c1f742a1da5f02ce2947441455bfe19f9aa785a0b3421
* mediamtx_v1.11.2_linux_armv7.tar.gz af1a8da1f45f0abcf79f7f4fafe149aa4545f02e79945120623dda970a1d082d
* mediamtx_v1.11.2_windows_amd64.zip 31c8d6fb9caa3218fc19fd7a31f9e8393794945f103e676784a89dca55541d69