v1.9.0

bluenviron/mediamtxv1.9.0Aug 26, 2024by github-actions[bot]

AI Summary

A major feature release focusing on Raspberry Pi support. It introduces native support for Raspberry Pi OS Bookworm by embedding libcamera and adds support for Raspberry Pi 5 with a software H264 encoder. It also adds configuration options for JWT permissions.

Key Highlights

  • Raspberry Pi OS Bookworm support with embedded libcamera
  • Raspberry Pi 5 support with H264 software encoder
  • Allow setting the JWT claim key that contains permissions
  • Playback 'url' field added to recording timespans

New Features

  • Simplify rpi / microphone instructions
  • Raise error in case of duplicate params in the configuration
  • H264 fix for DTS Extractor with single SEI NALU

Full Release Notes

 ## New major features

Raspberry Pi Camera

* support Raspberry Pi OS Bookworm by embedding libcamera and libfreetype into the server. It's not necessary anymore to install or update libcamera (https://github.com/bluenviron/mediamtx/issues/2581) (https://github.com/bluenviron/mediamtx/issues/3665)
* support Raspberry Pi 5 by adding a H264 software encoder (https://github.com/bluenviron/mediamtx/issues/2581) (https://github.com/bluenviron/mediamtx/issues/3670)

## Fixes and improvements

General

* simplify rpi / microphone instructions (https://github.com/bluenviron/mediamtx/issues/3650)
* raise error in case of duplicate params in the configuration (https://github.com/bluenviron/mediamtx/issues/3593) (https://github.com/bluenviron/mediamtx/issues/3651)
* playback: add "url" field to recording timespans in /list (https://github.com/bluenviron/mediamtx/issues/3619)
* allow to set the JWT claim key that contains permissions (https://github.com/bluenviron/mediamtx/issues/3560) (https://github.com/bluenviron/mediamtx/issues/3692)
* h264: Fix DTS Extractor when single SEI NALU is received (https://github.com/bluenviron/mediacommon/issues/142) (https://github.com/bluenviron/mediamtx/issues/3614) by @gkubes

RTSP

* server: fix panic when recording with wrong transport header (https://github.com/bluenviron/mediamtx/issues/3677) (https://github.com/bluenviron/gortsplib/issues/604)
* client: prevent switching protocol when protocol is fixed to UDP (https://github.com/bluenviron/gortsplib/issues/607)
* mjpeg: fix decoding and encoding JPEG types 1-63 (https://github.com/bluenviron/gortsplib/issues/605) by @kevmo314

WebRTC

* fix 'duplicate payload type' error in read page (https://github.com/bluenviron/mediamtx/issues/3543) (https://github.com/bluenviron/mediamtx/issues/3679)

RPI Camera

* update font and link it to IBM repository (https://github.com/bluenviron/mediamtx/issues/3647)
* add rpiCameraFlickerPeriod (https://github.com/bluenviron/mediamtx/issues/3463) (https://github.com/bluenviron/mediamtx/issues/3667)
* fix passing unsigned integers to component (https://github.com/bluenviron/mediamtx/issues/3672)

Dependencies

* build(deps): bump golang.org/x/term from 0.22.0 to 0.23.0 (https://github.com/bluenviron/mediamtx/issues/3626)
* build(deps): bump github.com/pion/interceptor from 0.1.29 to 0.1.30 (https://github.com/bluenviron/mediamtx/issues/3627)
* bump hls.js to v1.5.14 (https://github.com/bluenviron/mediamtx/issues/3624). Co-authored-by: mediamtx-bot <bot@mediamtx>
* build(deps): bump golang.org/x/sys from 0.23.0 to 0.24.0 (https://github.com/bluenviron/mediamtx/issues/3643)
* build(deps): bump golang.org/x/crypto from 0.25.0 to 0.26.0 (https://github.com/bluenviron/mediamtx/issues/3628)
* bump hls.js to v1.5.15 (https://github.com/bluenviron/mediamtx/issues/3681). Co-authored-by: mediamtx-bot <bot@mediamtx>
* build(deps): bump github.com/bluenviron/mediacommon (https://github.com/bluenviron/mediamtx/issues/3697)
* build(deps): bump github.com/bluenviron/gortsplib/v4 (https://github.com/bluenviron/mediamtx/issues/3698)