Fixes and improvements
General
- fix error in timestamp of Opus packets coming from SRT / HLS / MPEG-TS (#3388)
- expose MTX_SEGMENT_DURATION to runOnRecordSegmentComplete (#3440) (#2983) (#3456)
- prevent mixing together legacy and current auth mechanism (#3258) (#3460)
- mpegts: fix compatibility with QuickTime (bluenviron/mediacommon#131) (#3206)
- mpegts: automatically strip AUD from H264 and H265 (bluenviron/mediacommon#132)
- h264: filter out invalid NALUs from Annex-B (bluenviron/mediacommon#133)
- h264: improve performance of AVCC unmarshaler (bluenviron/mediacommon#134)
- h265: support ScalingListDataPresentFlag (bluenviron/mediacommon#135)
API
- add CORS headers on non-existing pages too (#1792) (#3410)
- fix crash when itemsPerPage is zero and there are items (#3425)
RTMP
HLS
- propagate query parameters to media playlist, segments and parts (bluenviron/gohlslib#165) (#3275)
- support passing JWT through Authorization header (#3248) (#3458)
WebRTC
- support reading, publishing and proxying surround Opus (#3371) (#3375)
- support reading, publishing, proxying LPCM tracks (#3437)
- support reading, publishing and proxying stereo PCMU/PCMA tracks (#3402)
- support reading G711 16khz tracks (#2848) (#3445)
- in answer, include only codecs that are actually in use (#3374)
- allow configuring timeouts (#3404) (#3406)
- show error in case setRemoteDescription fails (#3416)
- show error when setLocalDescription or createOffer fail (#3417)
- fix proxying PCMU tracks (#3427)
- speed up gathering of incoming tracks (#3441)
- fix supported AV1 profiles (#3442)
- set fmtp of outgoing VP9 and multiopus tracks (#3446)
- on browsers, display error messages from server (#3448)
- fix error "Failed to setup RTCP mux" on some readers (#3381) (#3449)
- support passing JWT through Authorization header (#3248) (#3458)
- support passing username and password through Bearer Token (#3248) (#3459)
Dependencies
- bump hls.js to v1.5.9 (#3407). Co-authored-by: mediamtx-bot bot@mediamtx
- bump hls.js to v1.5.10 (#3421)
- build(deps): bump golang.org/x/term from 0.20.0 to 0.21.0 (#3424)
- build(deps): bump golang.org/x/crypto from 0.23.0 to 0.24.0 (#3423)
- bump hls.js to v1.5.11 (#3426)
- bump pion/webrtc and pion/ice (#3436)
- bump pion/webrtc (#3447)
- build(deps): bump github.com/gorilla/websocket from 1.5.1 to 1.5.2 (#3450)