v0.17.14

bluenviron/mediamtxv0.17.14Jan 19, 2022by github-actions[bot]

AI Summary

A stability-focused release that introduces a new hook for stream readiness and addresses compatibility issues with specific camera manufacturers.

Key Highlights

  • Introduced `runOnReady` parameter to handle proxied streams
  • Fixed compatibility issues with Hikvision cameras
  • Resolved timestamp decoding errors and server shutdown freezes

New Features

  • runOnReady parameter

Full Release Notes

### New minor features

*  Add new parameter 'runOnReady'. This is called when a stream is ready, whether it is published or proxied, and allows to save to disk proxied streams. It replaces 'runOnPublish'. (#752)

### Fixes and improvements

* General: fix freeze when server is shut down and runOnPublish is not empty
* RTSP source: fix error 'invalid transport header: encoding/hex: invalid byte: U+0020' with some Hikvision cameras
* RTSP source: fix '401 Unauthorized' error when automatically switching protocol with some Hikvision cameras
* HLS server, RTMP server: fix timestamp decoding in case of an overflow followed by a negative time difference