v1.4.0
bluenviron/mediamtxv1.4.0Dec 10, 2023by github-actions[bot]
AI Summary
Adds support for static sources with regular expressions and fixes various security and stability issues.
Key Highlights
- Support for static sources in paths with regular expressions
- Unix timestamp support in filenames of recorded segments
- XSS attack prevention in HLS and WebRTC
- RPi Camera bitrate and IDR period control
Breaking Changes
- rename 'all' path configuration into 'all_others'
New Features
- Regex static sources
- Unix timestamp filenames
- XSS fixes
- RPi Camera bitrate control
Full Release Notes
## New features * support using static sources in paths with regular expressions (https://github.com/bluenviron/mediamtx/issues/824) (https://github.com/bluenviron/mediamtx/issues/2799). This allows to proxy requests to other servers by using regular expressions. ## Fixes and improvements General * support unix timestamp in filenames of recorded segments (https://github.com/bluenviron/mediamtx/issues/2774) by @neerajkanhere * fix crash when requesting metrics and RTMP, SRT or WebRTC servers are not present anymore (https://github.com/bluenviron/mediamtx/issues/2782) * add RTMPS metrics (https://github.com/bluenviron/mediamtx/issues/2783) * always use 'all_others' or 'all' after every other path configuration (https://github.com/bluenviron/mediamtx/issues/2798) RTSP * sdp: fix parsing SDP from UDP technology cameras (https://github.com/bluenviron/gortsplib/issues/474) (https://github.com/bluenviron/gortsplib/issues/478) * sdp: fix compatibility with Altasec NVRs (https://github.com/bluenviron/gortsplib/issues/476). . (https://github.com/bluenviron/mediamtx/issues/2762) HLS * bump hls-js to v1.4.13 (https://github.com/bluenviron/mediamtx/issues/2791). . Co-authored-by: mediamtx-bot <bot@mediamtx> * fix appending slash when behind a reverse proxy (https://github.com/bluenviron/mediamtx/issues/2770) * hls, webrtc: prevent XSS attack when appending slash to paths (https://github.com/bluenviron/mediamtx/issues/2766) (https://github.com/bluenviron/mediamtx/issues/2767) (https://github.com/bluenviron/mediamtx/issues/2772) * hls, webrtc: fix appending slash to paths that contain slashes (https://github.com/bluenviron/mediamtx/issues/2773) RPI Camera * allow to change bitrate and IDR period dynamically (https://github.com/bluenviron/mediamtx/issues/2703) (https://github.com/bluenviron/mediamtx/issues/2764) WebRTC * hls, webrtc: prevent XSS attack when appending slash to paths (https://github.com/bluenviron/mediamtx/issues/2766) (https://github.com/bluenviron/mediamtx/issues/2767) (https://github.com/bluenviron/mediamtx/issues/2772) * hls, webrtc: fix appending slash to paths that contain slashes (https://github.com/bluenviron/mediamtx/issues/2773) * fix propagating query parameters when appending slash to paths (https://github.com/bluenviron/mediamtx/issues/2771) Dependencies * build(deps): bump golang.org/x/crypto from 0.15.0 to 0.16.0 (https://github.com/bluenviron/mediamtx/issues/2751) * build(deps): bump github.com/bluenviron/gortsplib/v4 from 4.6.0 to 4.6.1 (https://github.com/bluenviron/mediamtx/issues/2785)