v0.21.0

bluenviron/mediamtxv0.21.0Dec 19, 2022by github-actions[bot]

AI Summary

A major version introducing native WebRTC support and the ability to multiplex multiple formats within a single track.

Key Highlights

  • Native WebRTC support for reading streams
  • Support multiple formats/codecs inside single tracks
  • H265 track parameter updates on resolution change
  • Fix handling of oversized H265 RTP packets

New Features

  • Native WebRTC support
  • Multiple formats/codecs in single tracks

Full Release Notes

### New major features

WebRTC

* Support reading with WebRTC (#1242) (#566)

RTSP

* Support multiple formats/codecs inside single tracks (#1103) (https://github.com/aler9/gortsplib/commit/a1396206b56f581b5945791c5bfe7c807307e7aa)

### Fixes and improvements

RTSP server / source

* update H265 track parameters when resolution, VPS, SPS or PPS change https://github.com/aler9/rtsp-simple-server/commit/39da3003452e8d220a62a9663a239412d4f1bb79
* fix handling of oversized H264 RTP packets https://github.com/aler9/rtsp-simple-server/commit/ffbdf516690bc8c5d4572aae990d645adcccd3b3
* implement resizing of oversized H265 RTP packets https://github.com/aler9/rtsp-simple-server/commit/6524130ab929cc094bc5464e3a527e740998d60e
* fix freeze when reading a stream with both HLS and RTSP https://github.com/aler9/rtsp-simple-server/commit/0772db509a047aebf96f2d232cc18d322a540002
* fix support for LPCM tracks with no explicit channel count (#1292)
* fix overriding of previously-received RTP packets that leaded to crashes https://github.com/aler9/gortsplib/commit/ffe8c87c38a5834d30efab24853b1fdd0410d738

HLS Muxer

* hls muxer: ask credentials again after failed attemps https://github.com/aler9/rtsp-simple-server/commit/478607a60251633f179a137c93e5bd804988bcba

API

* apidocs: add missing config parameters https://github.com/aler9/rtsp-simple-server/commit/7a5c426ae4fc0ee0f78c0ee002f3a4d9adf76b8a