v1.8.2

bluenviron/mediamtxv1.8.2May 19, 2024by github-actions[bot]

AI Summary

Improves the routing of multichannel audio between protocols and fixes DTS extraction issues for various encoders (QSV HEVC, H265). It also makes the HLS closeAfterInactivity setting configurable.

Key Highlights

  • Support routing multichannel Opus between RTSP, SRT, HLS, UDP and recording
  • Fix DTS extraction of QSV HEVC streams
  • HLS: make closeAfterInactivity configurable
  • Ignore LL-HLS requests for expired segments

New Features

  • Fix authentication when algorithm field is not supported
  • Support multichannel Opus in RTSP
  • Fix error when publishing AAC audio tracks

Full Release Notes

## Fixes and improvements

General

* raise an error in case recordPath is incompatible with the playback server (https://github.com/bluenviron/mediamtx/issues/3356)
* support routing multichannel Opus between RTSP, SRT, HLS, UDP and recording in MPEG-TS and fMP4 (https://github.com/bluenviron/mediamtx/issues/3355) (https://github.com/bluenviron/mediamtx/issues/3368)
* bug(h264/h265): DTS may stay the same (https://github.com/bluenviron/mediacommon/issues/119) by @xaionaro
* fix DTS extraction of QSV HEVC streams (https://github.com/bluenviron/mediamtx/issues/3285)
* h265: fix crash in DTS extractor (https://github.com/bluenviron/mediacommon/issues/129)

API

* make replace paths idempotent (https://github.com/bluenviron/mediamtx/issues/3362). Don't return a 404 error if the path doesn't exist yet by @bouk

RTSP

* fix authentication when algorithm field is not supported (https://github.com/bluenviron/mediamtx/issues/3116) (https://github.com/bluenviron/mediamtx/issues/3314)
* avoid returning partial RTP-Info header, omit seq/rtptime if needed (https://github.com/bluenviron/gortsplib/issues/568) by @Fusl
* fix authentication when algorithm field is not supported (https://github.com/bluenviron/gortsplib/issues/558). (https://github.com/bluenviron/mediamtx/issues/3116)
* support multichannel Opus (https://github.com/bluenviron/mediamtx/issues/3355) (https://github.com/bluenviron/gortsplib/issues/572)

HLS

* make closeAfterInactivity configurable (https://github.com/bluenviron/mediamtx/issues/3329) by @xjr20042
* Ignore LL-HLS requests for segments that have already expired (https://github.com/bluenviron/gohlslib/issues/156) by @HyeockJinKim

WebRTC

* fix returning code 404 when a stream does not exist (https://github.com/bluenviron/mediamtx/issues/3369)

Dependencies

* build(deps): bump golang.org/x/crypto from 0.22.0 to 0.23.0 (https://github.com/bluenviron/mediamtx/issues/3330)
* build(deps): bump github.com/gin-gonic/gin from 1.9.1 to 1.10.0 (https://github.com/bluenviron/mediamtx/issues/3334)
* bump GitHub Actions OS (https://github.com/bluenviron/mediamtx/issues/3341)
* build(deps): bump github.com/MicahParks/jwkset from 0.5.17 to 0.5.18 (https://github.com/bluenviron/mediamtx/issues/3363)
* build(deps): bump github.com/MicahParks/keyfunc/v3 from 3.3.2 to 3.3.3 (https://github.com/bluenviron/mediamtx/issues/3364)