v0.17.15

bluenviron/mediamtxv0.17.15Jan 31, 2022by github-actions[bot]

AI Summary

This update introduces a new memory management parameter for HLS and includes extensive improvements to the RTSP server, logging, and H264/HLS compatibility.

Key Highlights

  • Added `hlsSegmentMaxSize` parameter to prevent RAM exhaustion
  • Fixed RTSP server timeouts and keepalive requests
  • Improved logging to print hex dumps instead of raw bytes
  • Fixed H264 track support without SPS or PPS

New Features

  • hlsSegmentMaxSize parameter

Full Release Notes

### New minor features

* HLS: add new parameter hlsSegmentMaxSize that prevents RAM exhaustion

### Fixes and improvements

* General: do not print raw bytes into logs; print hex dump instead
* General: send query values to external authentication service
* General:  save regexp groups in G1, G2 env variables instead of 1, 2 (#642)
* General:  on Linux/macOS, launch external commands directly without using the shell
* RTSP source: fix memory leak that happened when a PLAY request failed
* RTSP source: send keepalive requests within the session timeout. This fixes a lot of timeouts with the UDP protocol (#702)
* RTSP source: fix crash in case a PLAY request fails before receiving the response
* RTSP server: send session timeout to clients through the session header (#702)
* RTSP server: allow again H264 tracks without SPS or PPS in the SDP (#787)
* HLS muxer: create first segment only after the first IDR is received
* HLS muxer: set audio codec mime according to mpeg4 type
* HLS muxer, RTMP server: support H264 tracks that contains extra data in sprop-parameter-set