Skip to content

Releases: bluenviron/mediamtx

v0.17.10

26 Nov 14:57
Compare
Choose a tag to compare

Fixes and improvements

  • General: fix crash that happens when using an invalid log file (#706)
  • RTSP source: support cameras that don't provide SPS and PPS inside the SDP (#411) (#707)
  • RTSP source: fix EOF error that happens when using TCP with some cameras (#548)
  • RTSP server: validate announced tracks
  • RTSP server: reply with code 454 when session is not found

v0.17.9

16 Nov 20:42
Compare
Choose a tag to compare

New minor features

  • RTSP: support reading with VLC and multicast

Fixes and improvements

  • General: switch to go 1.17
  • General: close all connections gracefully when shutting down the server (#682)
  • General: change log level of path open / close message to Debug
  • RTSP source: support reading from servers that use random UDP ports (#691)

v0.17.8

06 Nov 12:41
Compare
Choose a tag to compare

New minor features

  • API: add /v1/hlsmuxers/list endpoint
  • Metrics: add hls_muxers metric

Fixes and improvements

  • General: do not add an 'all' path automatically if not present in the configuration file
  • General: fix automatic deletion of regexp paths (#664) (#680)
  • General: allow to set logLevel: error in config
  • General: remove count of readers and publishers from log lines
  • General: use opened / closed instead of created / destroyed in logs
  • General: log the exact reason why a path is closed
  • RTSP server: make VLC-related error message more clear
  • RTSP server: print opened listeners in a single line
  • RTSP source: fix detection of GET_PARAMETER support
  • HLS: fix race condition
  • Metrics: implement per-path metrics
  • API docs: add missing HLS source to /v1/paths/list

v0.17.7

27 Oct 18:23
Compare
Choose a tag to compare

Fixes and improvements

  • General: add "error" log level
  • General: print log levels with 3 characters, tidy up errors
  • RTSP: make sourceFingerprint optional and allow standard validation of RTSPS server certificates
  • RTSP: print exact reason when a session is destroyed (#649)
  • HLS: allow disabling HTTPS validation by using sourceFingerprint (#665)
  • API: sort arrays in configuration (#644)

v0.17.6

06 Oct 11:18
Compare
Choose a tag to compare

Fixes and improvements

  • Fix regression that prevented usage of logLevel: debug

v0.17.5

04 Oct 07:03
Compare
Choose a tag to compare

Fixes and improvements

  • fix regression that prevented setting config slices with env variables (#612)

v0.17.4

03 Oct 14:22
Compare
Choose a tag to compare

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

07 Sep 10:18
Compare
Choose a tag to compare

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

14 Aug 15:42
Compare
Choose a tag to compare

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

12 Aug 10:05
Compare
Choose a tag to compare

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