github bluenviron/mediamtx v1.3.0

latest releases: v1.8.2, v1.8.1, v1.8.0...
6 months ago

New features

General

  • metrics: add paths_bytes_sent, srt_conns, srt_conns_bytes_received, srt_conns_bytes_sent (#2620) (#2619) (#2629) by @rse
  • metrics: expose state of WebRTC sessions (#2662)
  • add runOnUnDemand hook (#2645)

WebRTC

  • improve connectivity mechanism: add webrtcAdditionalHosts and allow to use DNS names in place of IPs; always use a fixed UDP port; allow to disable UDP; do not use a STUN server by default (#2686)
  • add options (width, height, framerate, audio capture) and store parameters in URL (#1837) (#2167) (#2584) by @Lukinoh

Fixes and improvements

General

  • fix crash when publishing to a path with 'runOnDemand' from outside 'runOnDemand' (#2636) (#2637)
  • tests: fix race condition in TestPathRunOnDemand (#2663)
  • fix setting 'recordDeleteAfter' to zero (#2670) (#2671)
  • record: fix deleting segments in case of relative paths (#2526) (#2673)
  • record: allow using special characters in recording path (#2674)

RTSP

RTMP

  • fix publishing screen with iOS StreamLabs (#2352) (#2611)

WebRTC

  • fix crash in case of errors during PATCH (#2609) (#2613)
  • allow using sourceFingerprint with WebRTC sources (#2618) (#2626)
  • restore compatibility when running behind a proxy, in a subpath (#2638)
  • prevent pion/webrtc from writing log lines (#2681)

API

  • return empty list when page is empty (#2604) (#2614)

HLS

  • apply readTimeout to HLS sources (#2627)
  • HLS.js usage: bugfix, stability improvements and resilience improvement (#2631)
  • muxer: fix discontinuity in part ID (bluenviron/gohlslib#107). . (#2317). . this prevented Low-Latency HLS from running smoothly on Safari

SRT

  • fix race condition when disposing late packets (#2648)

Dependencies

  • build(deps): bump github.com/pion/interceptor from 0.1.24 to 0.1.25 (#2622)
  • build(deps): bump github.com/gorilla/websocket from 1.5.0 to 1.5.1 (#2652)
  • build(deps): bump github.com/pion/rtcp from 1.2.10 to 1.2.11 (#2669)
  • build(deps): bump golang.org/x/term from 0.13.0 to 0.14.0 (#2667)
  • build(deps): bump golang.org/x/crypto from 0.14.0 to 0.15.0 (#2668)
  • build(deps): bump github.com/pion/rtcp from 1.2.11 to 1.2.12 (#2676)
  • build(deps): bump github.com/pion/rtp from 1.8.2 to 1.8.3 (#2677)
  • build(deps): bump github.com/pion/webrtc/v3 from 3.2.21 to 3.2.22 (#2675)

Don't miss a new mediamtx release

NewReleases is sending notifications on new releases.