v0.23.8

bluenviron/mediamtxv0.23.8Jul 19, 2023by github-actions[bot]

AI Summary

Focuses on WebRTC stability, fixing race conditions and memory leaks, and improving Raspberry Pi camera support with HDR.

Key Highlights

  • Fix race conditions and memory leaks in WebRTC handshake and shutdown.
  • Add support for Raspberry Pi Camera HDR mode.
  • Improve API by adding path information to connection/session lists.
  • Add Authorization to Access-Control-Allow-Headers for HLS and WebRTC.

New Features

  • WebRTC stability fixes
  • Raspberry Pi Camera HDR support
  • API path information
  • CORS header fix

Full Release Notes

## Fixes and improvements

General

* hls, webrtc: add Authorization to Access-Control-Allow-Headers (#2018) (#2020)
* stop execution in case of panics when handling HTTP requests (#2021)
* disable colored log lines when output is not a terminal (#1477) (#2050)
* make sure components are closed in a specific order (#2065)
* update list of supported codecs inside error messages (#2058) (#2073)

WebRTC

* allow removing default WebRTC ICE server with environment variables (#2064)
* fix race condition that caused random crashes during handshake (#2072)
* fix memory leak during shutdown or session kick (#2079)
* display publish-related errors in web page (#1836) (#2080)

Raspberry Pi Camera

* fix a compile error with recent libcamera (#2081) by @hideaki-t 
* rpi camera: add rpiCameraHDR parameter (#1876) (#2083)

API

* add path to RTMP connections, RTSP sessions, WebRTC sessions (#1962) (#2022)
* apidocs: fix source/reader types (#2027)
* fix error in case of nested paths (#2040) by @Jordy84 
* return 404 when a path configuration is not found (#2067) (#2074)
* allow to edit properties of path config "all" (#2067) (#2075)
* add 'readyTime' to paths (#2049) (#2082)

Dependencies

* build(deps): bump golang.org/x/net from 0.11.0 to 0.12.0 (#2025)
* build(deps): bump github.com/pion/ice/v2 from 2.3.8 to 2.3.9 (#2031)
* build(deps): bump github.com/pion/webrtc/v3 from 3.2.11 to 3.2.12 (#2051)