v1.8.0

bluenviron/mediamtxv1.8.0Apr 21, 2024by github-actions[bot]

AI Summary

Adds HTTPS support to the API, playback server, metrics server, and pprof server. It also upgrades the Go runtime to version 1.22 and improves WHIP/WHEP endpoint handling.

Key Highlights

  • HTTPS support for API, playback, metrics, and pprof servers
  • Upgrade Go to version 1.22
  • Support WHIP/WHEP endpoints without PATCH support
  • Fix setting bitrate when 'optimize for voice' is off

New Features

  • Playback: improve precision when splitting fMP4 parts
  • Record: increase default part duration to 1s
  • WebRTC: improve layout of publish page

Full Release Notes

## New features

* support HTTPS, Allow-Origin and trusted proxies in API, playback server, metrics server and pprof server (https://github.com/bluenviron/mediamtx/issues/2658) (https://github.com/bluenviron/mediamtx/issues/2491) (https://github.com/bluenviron/mediamtx/issues/3235) (https://github.com/bluenviron/mediamtx/issues/3280)

## Fixes and improvements

General

* playback: improve precision when splitting fMP4 parts (https://github.com/bluenviron/mediamtx/issues/3250)
* record: increase default part duration to 1s (https://github.com/bluenviron/mediamtx/issues/3264)
* fix support for JWT authentication in API, metrics, playback, pprof (https://github.com/bluenviron/mediamtx/issues/3253). Co-authored-by: Rafael Scheidt <rafaelscheidt@Rafaels-MacBook-Air.local>. Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>

API

* fix crash when changing settings of an on-demand source that is idle (https://github.com/bluenviron/mediamtx/issues/3246) (https://github.com/bluenviron/mediamtx/issues/3249)
* fix crash when calling config/paths/patch on an empty path config (https://github.com/bluenviron/mediamtx/issues/3265)

RTSP

* fix SDP error with AXIS 221 (https://github.com/bluenviron/mediamtx/issues/2708) (https://github.com/bluenviron/gortsplib/issues/547)

HLS

* fix population of runOnDemand's MTX_QUERY (https://github.com/bluenviron/mediamtx/issues/3255)

WebRTC

* improve layout of publish page; add 'ideal' label to width, height and framerate (https://github.com/bluenviron/mediamtx/issues/2845) (https://github.com/bluenviron/mediamtx/issues/3254)
* fix setting bitrate when 'optimize for voice' is off (https://github.com/bluenviron/mediamtx/issues/3262)
* fix loading default video and devices from query (https://github.com/bluenviron/mediamtx/issues/3260)
* in publish page, prevent same device from appearing multiple times (https://github.com/bluenviron/mediamtx/issues/3261)
* detect stereo tracks published with the web page (https://github.com/bluenviron/mediamtx/issues/2902) (https://github.com/bluenviron/mediamtx/issues/3263)
* support charset in Content-Type of WHIP offer responses (https://github.com/bluenviron/mediamtx/issues/3274)
* support WHIP/WHEP endpoints without PATCH support (https://github.com/bluenviron/mediamtx/issues/3273) (https://github.com/bluenviron/mediamtx/issues/3277)

Dependencies

* build(deps): bump github.com/pion/interceptor from 0.1.28 to 0.1.29 (https://github.com/bluenviron/mediamtx/issues/3259)
* bump Go to 1.22 (https://github.com/bluenviron/mediamtx/issues/3279)