Releases: bluenviron/mediamtx
Releases · bluenviron/mediamtx
v0.17.6
Fixes and improvements
- Fix regression that prevented usage of
logLevel: debug
v0.17.5
v0.17.4
Fixes and improvements
- General: avoid crash in case of invalid H264 SPS (#590)
- General: add log messages when runOnPublish, runOnConnect, runOnRead are started or stopped
- General: print log messages about custom commands closing after they are closed
- General: avoid deadlock when a runOnPublish command is reading and the publisher times out (#595) (#495)
- General: avoid deadlock when a runOnDemand command is used and a path is deleted
- General: close custom commands with SIGINT again (#495)
- General: return error in case of non-existent parameters in the configuration file
- General: use crypto/rand instead of math/rand to avoid port conflicts and security issues
- RTSP: do not allow a session to setup UDP tracks from different IPs
- RTSP: do not allow a reader to use the same UDP ports of another reader
- RTSP: do not allow a client to control a session created with a different IP
- RTMP: do not raise an error in case of metadata packets (#577)
- RTMP: run runOnRead command also with RTMP readers
- HLS source: avoid crash when proxing HLS (#558)
- API: support working with path configs that contains slashes (#581)
- API: decode durations from strings instead of numbers
v0.17.3
New minor features
- support proxying HLS streams
Fixes and improvements
- HLS: insert segments into playlist only after they're complete. In this way, EXT-X-TARGETDURATION and EXTINF are always filled correctly and playback is much smoother
- HLS: fix discontinuity of TS counters between segments. This avoids errors in VLC
- HLS: serve primary playlist (index.m3u8) and stream playlist (stream.m3u8) separately
- HLS: remove initial difference of 2secs between PTS and DTS of H264. This decreases latency
- HLS: send PCR periodically
- HLS: do not send DTS if PTS = DTS
- RTSP source: support servers that change interleaved IDs
- RTMP: print clearer error message in case no H264/AAC tracks are found
- RTMP: remove initial difference of 2secs between PTS and DTS of H264
- API: fix concurrency issue when creating multiple path configs at once (#542)
- API: normalize entity names
- API: return rtspsSessions in case of RTSPS sessions
- General: do not allow closed static sources to set a path as ready
- General: print 'ready' only when a source is really ready
- General: fix crash when manually pushing to an ondemand path
v0.17.2
Fixes and improvements
- General: close custom commands with SIGQUIT instead of SIGINT (#495)
- General: fill version correctly (#503)
- HLS: fix compatibility with video.js, iOS Safari, macOS Safari
- HLS, RTMP: print clearer error messages (#501)
- HLS: reply with 404 to invalid requests
- HLS: set default segment count to 3
- HLS: write PMT/PAT tables once at the beginning of every TS segment
- HLS: increase video size up to 100% of the page (#480)
- HLS: speed up loading by decreasing PTS
- HLS: send PCR once, at the beginning of every TS segment
- API: log requests and responses even in case of code 404
- API: log right protocol version of responses
v0.17.1
New minor features
- Metrics: new metrics system that provides more data (#492)
- API: add "state" field to RTSP sessions and RTMP connections
- API: add RTSPS endpoints to list and kick RTSPS sessions
Fixes and improvements
- General: fix crash that happens when sourceOnDemand is true and a source times out
- HLS: fix freeze when sourceOnDemand is yes and multiple sources are requested at the same time (#493)
- API: make sure that entities are deleted immediately after a kick request
v0.17.0
New major features
- Add an HTTP API to query and control the server. Documentation is available here.
- HLS: new option hlsAlwaysRemux to always remux streams into HLS, not only when requested
Fixes and improvements
- (BREAKING) general: rename readIps and PublishIps into readIPs and publishIPs
- (BREAKING) general: rename "record" source value into "publisher"
- (BREAKING) general: change default listen IP of metrics and pprof to 127.0.0.1
- general: reload only rtsp server when authMethods is changed
- general: fix multiple freezes during shutdown of components
- general: Allow dot and tilde as part of paths
- general: Minor spelling fix
- HLS: make sure to send entire TS segments to clients
- HLS: reject methods other than GET and OPTIONS
v0.16.4
Fixes and improvements:
- rename arm6 and arm7 releases into armv6 and armv7
- RTSP server: support setupping tracks with arbitrary interleaved IDs (#402)
- HLS: fix CORS issues with HLS player using authorization
- HLS: add Access-Control-Allow-Origin to every HTTP response; add parameter hlsAllowOrigin (#415)
- HLS: skip frames received before the first IDR frame
- HLS: fix crash on armv7 (#440)
- HLS: add Content-Type header (#408)
v0.16.3
v0.16.2
Fixes and improvements
- RTSP source: fix authentication during SETUP, preventing 401s during automatic protocol switches (#392)
- RTSP source: support servers that send frames with a frequency lower than 1sec
- RTSP source: support sources with empty passwords (#395)
- RTSP source: support SSRCs with missing zeros (#396)
- HLS: add CORS header to all responses (#389)
- HLS: support paths with slashes (#381)