v0.19.2

bluenviron/mediamtxv0.19.2Jun 24, 2022by github-actions[bot]

AI Summary

This release focuses on stability improvements, specifically fixing RTSP server crashes and memory leaks, while enhancing HLS muxer latency handling and H264 decoding compatibility.

Key Highlights

  • Fixed DTS extraction for H264 streams encoded with NVENC
  • Improved RTSP server stability by fixing crashes and session handling errors
  • Enhanced HLS muxer with latency reduction and trusted proxy support
  • Fixed on-demand commands closing prematurely after 10 seconds

Full Release Notes

### Fixes and improvements

* General: fix extracting DTS from H264 streams encoded with nvenc (#989)
* General: fix bug that caused on-demand commands to be closed after 10secs (#1000)
* General: replace bit reader / writer with a better implementation, improving performance
* RTSP server: correctly close sessions in case of errors during SETUP, preventing a memory leak (#965)
* RTSP server: server: fix crash that happens when a reader tries to setup a closed stream (#866)
* RTSP server / proxy: improve handling of RTP/H264 packets, in order to heal invalid packets wherever they come from
* RTSP proxy: fix parsing of transport headers with empty source (#986)
* RTSP proxy: support TP-Link application tracks (#990)
* RTMP server: fix compatibility with some DJI drones (#928)
* HLS muxer: compensate latency by using the hls.js parameter maxLiveSyncPlaybackRate inside the default player. This further decreases decreases LL-HLS latency and prevents it from increasing over time (#972)
* HLS muxer: return 404 instead of 500 when a stream is not found
* HLS muxer: show real client IPs when behind a proxy. A new parameter hlsTrustedProxies has been added in order to set trusted proxies IPs (#955)