v1.8.5

bluenviron/mediamtxv1.8.5Aug 4, 2024by github-actions[bot]

AI Summary

This release addresses critical bug fixes related to panics in audio and video parsing (MPEG-4 audio and H265). It introduces automatic reloading of TLS certificates when they change and updates API documentation.

Key Highlights

  • Automatically reload TLS certificates when they change
  • Fix panic with MPEG-4 audio tracks without config
  • Fix panic when marshaling SPS (H265)
  • Prevent RAM exhaustion by limiting max sample count in fMP4

New Features

  • Add missing authentication-related parameters to API docs
  • Add missing fields in /list and SRT connections

Full Release Notes

## Fixes and improvements

General

* record, hls: fix panic with MPEG-4 audio tracks without config (https://github.com/bluenviron/mediamtx/issues/3590) (https://github.com/bluenviron/mediamtx/issues/3594)
* automatically reload TLS certificates when they change (https://github.com/bluenviron/mediamtx/issues/3598) by @dbason
* mpeg4audio: fix panic when marshaling StreamMuxConfig (https://github.com/bluenviron/mediacommon/issues/137)
* h265: fix panic when marshaling SPS (https://github.com/bluenviron/mediacommon/issues/138)
* fmp4: prevent RAM exhaustion by limiting max sample count (https://github.com/bluenviron/mediacommon/issues/140)

API

* apidocs: add missing authentication-related parameters (https://github.com/bluenviron/mediamtx/issues/3607)
* apidocs: add missing fields in /list and SRT connections (https://github.com/bluenviron/mediamtx/issues/3610)

RTSP

* fix panic in MPEG4Audio.GetConfig() (https://github.com/bluenviron/gortsplib/issues/590). https://github.com/bluenviron/mediamtx/issues/3590

Dependencies

* bump hls.js to v1.5.13 (https://github.com/bluenviron/mediamtx/issues/3540). Co-authored-by: mediamtx-bot <bot@mediamtx>
* build(deps): bump github.com/datarhei/gosrt (https://github.com/bluenviron/mediamtx/issues/3559)