v0.19.3

bluenviron/mediamtxv0.19.3Jul 24, 2022by github-actions[bot]

AI Summary

Improves H264 decoding performance, implements packet reordering for UDP/Multicast, and completely rewrites the RTMP connection implementation.

Key Highlights

  • Implement packet reordering for UDP/Multicast transports
  • Support streams that encode NALUs into Annex-B
  • Rewrite RTMP server/source implementation
  • Fix RTSPS default port

New Features

  • Packet reordering for UDP/Multicast
  • H264 Annex-B support
  • RTMP connection rewrite

Full Release Notes

### Fixes and improvements

* General: print log to stdout instead of stderr (#1042)
* General: use more efficient bit reader / writer
* General: prefer POC method over SEI method for extracting H264 DTS (https://github.com/aler9/gortsplib/commit/793cea631b0dfe8c4d5afcf2d117a8667a6dcc00)
* RTSP server / source: implement packet reordering for UDP / Multicast transports (https://github.com/aler9/gortsplib/pull/132)
* RTSP server / source: support streams that encode NALUs into Annex-B (https://github.com/aler9/rtsp-simple-server/issues/1029)
* RTSP server / source:  accept RTP/H264 packets even if the server is unable to parse them (#1049)
* RTSP server / source: add limit on nalus per group (https://github.com/aler9/gortsplib/commit/e3c9f0c2e6d2235367941f0b12f624627f12a820)
* RTSP source: avoid sending/receiving invalid packet when reading with multicast (https://github.com/aler9/gortsplib/commit/fb39087150fed74553c4b43949c8173fa038876b)
* RTSP source: support ADTS-encoded, fragmented AUs (https://github.com/aler9/gortsplib/commit/570be5c520862de6eafe36cf7ac3178bb804925f)
* RTSP source: fix RTSPS default port (https://github.com/aler9/gortsplib/commit/36c6d0b7ef12497a9358d08583e362bb5b2c8cfc)
* RTMP server / source: rewrite implementation of connections from scratch. This slightly improve efficiency and allows to rapidly fix eventual bugs (#1047)
* RTMP server: fix rtmp -> rtsp audio conversion (https://github.com/aler9/rtsp-simple-server/commit/822a896a828d8a6d436edf4c4f4727369942fd43)
* HLS muxer: create only 7 initial gaps (#999)
* HLS muxer: when hlsAlwaysRemux is on, automatically recreate muxers in case of errors https://github.com/aler9/rtsp-simple-server/commit/8a4743fe9a2b7c97a83d46ad9ce91598c2253ce5