v1.1.0
New features
-
Add native recording. This allows to record streams without using FFmpeg in a fault tolerant, browser compatible format (#1399) (#2255).
-
Add additional custom commands: runOnDisconnect, runOnNotReady, runOnUnread (#1464) (#2355)
-
Add additional environment variables to custom commands (#1414) (#2356). New variables: MTX_CONN_TYPE, MTX_CONN_ID, MTX_SOURCE_TYPE, MTX_SOURCE_ID, MTX_READER_TYPE, MTX_READ_ID
Fixes and improvements
General
- print the reason why a source is started or stopped (#2322)
- search for configuration file in various paths, print paths if configuration is not found (#1993) (#2276) (#2357)
Codecs
- mpegts: readd PCR to outgoing packets (bluenviron/mediacommon#74). . this is needed to read H265 tracks with VLC+VDPAU hardware encoder. (and is probably needed by other combinations too)
- h265: cleanup DTS extractor (bluenviron/mediacommon#75)
RTSP
- normalize debug logging of requests / responses (#2321)
- rtptime: fix crash in case of packets from tracks with invalid clock rate (bluenviron/gortsplib#400)
- fix unability to get PTS of H265 streams (bluenviron/gortsplib#401)
- fix compatibility with Revotech cameras (bluenviron/gortsplib#402) (bluenviron/gortsplib#404)
- client: fix enforcing timeout to responses (bluenviron/gortsplib#406)
- client: fix race condition that can lead to crash (bluenviron/gortsplib#407)
- client: log every incoming response (bluenviron/gortsplib#409)
- client: accept responses only if their CSeq corresponds to requests (bluenviron/gortsplib#410)
- server: stop sending multicast packets when all multicast readers have disconnected (bluenviron/gortsplib#411)
- client: support cameras that don't reply to keepalives (bluenviron/gortsplib#412). . (#2302)
- fix reading and writing multicast packets in case of multiple interfaces (bluenviron/gortsplib#413). . (#2029)
- fix wrong encoding when frame size equals packet size (bluenviron/gortsplib#416)
- optimize multicast on Linux by listening on a single IP (bluenviron/gortsplib#417). . (#2133)
RTMP
HLS
- bump hls-js to v1.4.12 (#2283)
SRT
- support publishing and reading MPEG-1/2/4 video with SRT and UDP/MPEG-TS (#2277)
UDP
- fix reading two streams with same port and different multicast IP (#2133) (#2332)
- support publishing and reading MPEG-1/2/4 video with SRT and UDP/MPEG-TS (#2277)
API
Dependencies
- build(deps): bump golang.org/x/term from 0.11.0 to 0.12.0 (#2294)
- build(deps): bump github.com/pion/webrtc/v3 from 3.2.17 to 3.2.18 (#2292)
- build(deps): bump golang.org/x/crypto from 0.12.0 to 0.13.0 (#2299)
- build(deps): bump github.com/pion/ice/v2 from 2.3.10 to 2.3.11 (#2300)
- build(deps): bump golang.org/x/net from 0.14.0 to 0.15.0 (#2301)
- build(deps): bump github.com/pion/webrtc/v3 from 3.2.18 to 3.2.19 (#2328)
- build(deps): bump github.com/pion/interceptor from 0.1.18 to 0.1.19 (#2329)
- build(deps): bump github.com/pion/webrtc/v3 from 3.2.19 to 3.2.20 (#2340)