v1.2.0
New features
- add a new configuration setting
pathDefaults
that allows to change the default parameters of all paths. Existing configurations are fully compatible with the new configuration schema, but the API has been bumped to /v3 in order to support this change (#2455) - allow setting different recording parameters for each path (#2410) (#2457)
- support recording to MPEG-TS (#2505)
- support recording LPCM tracks (#2475)
- add runOnRecordSegmentComplete and rclone integration (#2404) (#2428)
- add runOnRecordSegmentCreate hook (#2451) (#2503)
Fixes and improvements
General
- rename 'all' path configuration into 'all_others' (#2443)
- allow to start/stop recording without disconnecting clients (#2395) (#2434)
- move 'srtReadPassphrase' into the right section (#2435)
- print path of configuration file (#2441)
- fix 'fragment sequence discontinuity' warning when reading record segments with VLC (#2476)
- h264: support empty NALUs inside AVCC (bluenviron/mediacommon#84). . (#2375)
- h265: fix DTS extraction of streams with short_term_ref_pic_set_sps_flag=1 (bluenviron/mediacommon#95). . (#2417)
RTSP
- support SDPs without session name (bluenviron/gortsplib#439). . (#2473)
RTMP
HLS
- muxer: generate multivariant playlist and init.mp4 after a segment is ready (bluenviron/gohlslib#99)
- muxer: regenerate init.mp4 only when its content changes (bluenviron/gohlslib#100)
WebRTC
- Supports webrtc interface filtering on server (#2460) by @PieterFabry
- add Location header to CORS-allowed headers (#2453) by @rgl
- print lost packets (#2468)
- fix reading Opus stereo tracks with Chrome (#2043) (#2470)
- disallow publishing screen on devices that don't support it (#2066) (#2471)
- optimize publish page for mobile devices (#2066) (#2472)
- expose ice servers on OPTIONS CORS requests (#2479) by @sainak
API
- return 400 in case of non-existent config fields (#2425)
- save errors in logs (#2426)
- fix crash when retrieving RTMP and SRT connections (#2430) by @p4xx07
- apidocs: remove invalid value from PathSourceOrReader (#2450)
Dependencies
- build(deps): bump github.com/abema/go-mp4 from 0.13.0 to 1.0.0 (#2413)
- build(deps): bump github.com/pion/rtp from 1.8.1 to 1.8.2 (#2415)
- build(deps): bump github.com/pion/webrtc/v3 from 3.2.20 to 3.2.21 (#2414)
- build(deps): bump github.com/abema/go-mp4 from 1.0.0 to 1.1.0 (#2421)
- build(deps): bump github.com/pion/interceptor from 0.1.19 to 0.1.20 (#2437)
- build(deps): bump github.com/abema/go-mp4 from 1.1.0 to 1.1.1 (#2447)
- build(deps): bump github.com/pion/interceptor from 0.1.20 to 0.1.21 (#2456)
- build(deps): bump golang.org/x/crypto from 0.13.0 to 0.14.0 (#2465)
- build(deps): bump github.com/pion/interceptor from 0.1.21 to 0.1.22 (#2482)
- build(deps): bump github.com/alecthomas/kong from 0.8.0 to 0.8.1 (#2493)
- build(deps): bump golang.org/x/net from 0.15.0 to 0.17.0 (#2501)