v1.5.1

bluenviron/mediamtxv1.5.1Feb 4, 2024by github-actions[bot]

AI Summary

A maintenance release focusing on playback API enhancements, recording management endpoints, and various bug fixes in HLS, WebRTC, and RTSP protocols.

Key Highlights

  • Playback API improvements including list timespans and optional format
  • Recording management API endpoints
  • HLS infinite loop fix for incompatible codecs
  • WebRTC UI improvements including error display and overflow prevention
  • RTSP compatibility fixes for TP-Link cameras and G711 tracks

New Features

  • Playback API list endpoint
  • Recording management API
  • RPi Camera AWB gains

Full Release Notes

## Fixes and improvements

General

* playback: add /list endpoint to list available timespans (https://github.com/bluenviron/mediamtx/issues/2978)
* playback: accept durations written in seconds (https://github.com/bluenviron/mediamtx/issues/2979)
* playback: make 'format' parameter optional (https://github.com/bluenviron/mediamtx/issues/2980)
* prevent multiple crashes when reloading the configuration (https://github.com/bluenviron/mediamtx/issues/2945)

HLS

* fix infinite loop in web client when reading incompatible codecs (https://github.com/bluenviron/mediamtx/issues/2956). . when a player received a stream with incompatible codecs, it started. polling the server for index.m3u8 in an infinite loop. This was caused. by https://github.com/bluenviron/mediamtx/issues/2631
* hls, webrtc: in the web page, show connection errors to users (https://github.com/bluenviron/mediamtx/issues/2957)
* hls, webrtc: in web page, prevent video from overflowing (https://github.com/bluenviron/mediamtx/issues/2958)
* hls, webrtc: in web page, add shadow to messages (https://github.com/bluenviron/mediamtx/issues/2959)
* fix crash in case of disk write errors (https://github.com/bluenviron/gohlslib/issues/136) (https://github.com/bluenviron/gohlslib/issues/137)

WebRTC

* hls, webrtc: in the web page, show connection errors to users (https://github.com/bluenviron/mediamtx/issues/2957)
* hls, webrtc: in web page, prevent video from overflowing (https://github.com/bluenviron/mediamtx/issues/2958)
* hls, webrtc: in web page, add shadow to messages (https://github.com/bluenviron/mediamtx/issues/2959)

API

* add endpoints for recording management (https://github.com/bluenviron/mediamtx/issues/2901) (https://github.com/bluenviron/mediamtx/issues/2988)
* improve performance by using RWMutex (https://github.com/bluenviron/mediamtx/issues/2968)
* apidocs: group operations by using tags (https://github.com/bluenviron/mediamtx/issues/2987)

RTSP

* fix compatibility with some TP-Link cameras (https://github.com/bluenviron/gortsplib/issues/509) (https://github.com/bluenviron/gortsplib/issues/510)
* fix ClockRate() of G711 16khz tracks (https://github.com/bluenviron/gortsplib/issues/511)
* client: prevent UDP listener from closing twice (https://github.com/bluenviron/gortsplib/issues/515)

RPI Camera

* add rpiCameraAWBGains (https://github.com/bluenviron/mediamtx/issues/2858)

Dependencies

* bump Linux Alpine to 3.19 (https://github.com/bluenviron/mediamtx/issues/2837) (https://github.com/bluenviron/mediamtx/issues/2953)
* build(deps): bump github.com/google/uuid from 1.5.0 to 1.6.0 (https://github.com/bluenviron/mediamtx/issues/2939)
* bump hls-js to v1.5.2 (https://github.com/bluenviron/mediamtx/issues/2948). . Co-authored-by: mediamtx-bot <bot@mediamtx>
* bump hls-js to v1.5.3 (https://github.com/bluenviron/mediamtx/issues/2964). . Co-authored-by: mediamtx-bot <bot@mediamtx>