v1.10.0

bluenviron/mediamtxv1.10.0Dec 3, 2024by github-actions[bot]

AI Summary

Adds H265 support for WebRTC (publishing and reading) and improves Raspberry Pi camera performance with DMA buffers.

Key Highlights

  • Support publishing and reading H265 tracks in WebRTC
  • Increase default camera bitrate to 5 Mbps
  • Improve performance by using DMA buffers
  • Include query parameters in session URL

New Features

  • Support publishing and reading H265 tracks
  • Include query parameters in session URL
  • Move JavaScript reader and publisher into portable classes

Full Release Notes

## New features

WebRTC

* support publishing and reading H265 tracks (https://github.com/bluenviron/mediamtx/issues/4003). Please check the [README](https://github.com/bluenviron/mediamtx?tab=readme-ov-file#supported-browsers) for supported browsers.

## Fixes and improvements

General

* improve unsafe path handling (https://github.com/bluenviron/mediamtx/issues/3927)
*  fix crash when recording a stream with unsupported tracks (https://github.com/bluenviron/mediamtx/issues/3978)  (https://github.com/bluenviron/mediamtx/issues/3996) (https://github.com/bluenviron/mediamtx/issues/3978)

WebRTC

* include query parameters in session URL (https://github.com/bluenviron/mediamtx/issues/3920)
* move JavaScript reader and publisher into portable classes (https://github.com/bluenviron/mediamtx/issues/3921)
* restart ICE only on failed connection states (https://github.com/bluenviron/mediamtx/issues/3899)

RPI Camera

* increase default camera bitrate to 5 Mbps (https://github.com/bluenviron/mediamtx/issues/3896)
* ix restarting stream in case of disconnections or driver errors (https://github.com/bluenviron/mediamtx/issues/3988)
* ix restarting camera when component crashes (https://github.com/bluenviron/mediamtx/issues/3997)
* improve performance by using DMA buffers (https://github.com/bluenviron/mediamtx-rpicamera/issues/29). this speeds up text drawing and software encoding.
* fix freeze when RAM is full or under pressure (https://github.com/bluenviron/mediamtx-rpicamera/issues/33)
* emit error signal in case of driver errors (https://github.com/bluenviron/mediamtx-rpicamera/issues/34)
* remove useless timestamp normalization (https://github.com/bluenviron/mediamtx-rpicamera/issues/35)
* always free incoming commands from memory (https://github.com/bluenviron/mediamtx-rpicamera/issues/36)

Dependencies

* build(deps): bump github.com/go-git/go-billy/v5 from 5.5.0 to 5.6.0 (https://github.com/bluenviron/mediamtx/issues/3900)
* build(deps): bump github.com/fsnotify/fsnotify from 1.7.0 to 1.8.0 (https://github.com/bluenviron/mediamtx/issues/3925)
* build(deps): bump github.com/alecthomas/kong from 1.2.1 to 1.3.0 (https://github.com/bluenviron/mediamtx/issues/3926)
* bump Golang to 1.23 (https://github.com/bluenviron/mediamtx/issues/3702)
* build(deps): bump github.com/alecthomas/kong from 1.3.0 to 1.4.0 (https://github.com/bluenviron/mediamtx/issues/3940)
* build(deps): bump golang.org/x/sys from 0.26.0 to 0.27.0 (https://github.com/bluenviron/mediamtx/issues/3948)
* build(deps): bump golang.org/x/crypto from 0.28.0 to 0.29.0 (https://github.com/bluenviron/mediamtx/issues/3946)
* build(deps): bump golang.org/x/term from 0.25.0 to 0.26.0 (https://github.com/bluenviron/mediamtx/issues/3947)
* build(deps): bump github.com/gin-contrib/pprof from 1.5.0 to 1.5.1 (https://github.com/bluenviron/mediamtx/issues/3955)
* build(deps): bump github.com/matthewhartstonge/argon2 (https://github.com/bluenviron/mediamtx/issues/3950)
* build(deps): bump github.com/stretchr/testify from 1.9.0 to 1.10.0 (https://github.com/bluenviron/mediamtx/issues/3979)
* bump mediamtx-rpicamera to v2.3.6 (https://github.com/bluenviron/mediamtx/issues/4004)