Skip to content

Releases: bluenviron/mediamtx

v1.9.3

20 Oct 14:44
6cd7487
Compare
Choose a tag to compare

Fixes and improvements

General

  • fix version reporting with --version (#3846) (#3847)
  • make better use of Gin middleware system (#3849)
  • pprof: fix required authentication action (#3850)
  • restore pprof service (#3848) (#3851)
  • fix setting version in Arch Linux package (#3852)
  • warn instead of exiting when it is not possible to get version from git (#3857)
  • fix wrong -dirty prefix in version (#3869)
  • h264: improve performance of SPS parser (bluenviron/mediacommon#152)
  • h264: fix memory filling up in case of malicious SPS (bluenviron/mediacommon#153). When CpbCntMinus1 is set to unreasonably high values, the RAM fills up.

RTSP

RPI Camera

Dependencies

  • bump hls.js to v1.5.17 (#3885)

v1.9.2

07 Oct 19:16
32d3fc5
Compare
Choose a tag to compare

Fixes and improvements

General

  • fix memory leak in case of errors during initialization of a reader (#3831)
  • log track ID when skipping tracks (#3798)
  • support using JWT in Authorization header with API, Metrics, PProf (#3630) (#3795)
  • show right server version when server is compiled from source (#3409)
  • add Unity instructions (#3837)
  • route original timestamps without converting to durations (#3839). This improves timestamp precision.
  • add instructions about SELinux distributions (#3673)

RTSP

HLS

WebRTC

  • fix crash in case of congestion (#3813) (#3815)
  • fix connection timeout when webrtcAdditionalHosts is filled with existing IP (#3835).

Dependencies

  • build(deps): bump github.com/MicahParks/jwkset from 0.5.19 to 0.5.20 (#3787)
  • build(deps): bump github.com/pion/interceptor from 0.1.30 to 0.1.31 (#3825)
  • build(deps): bump golang.org/x/term from 0.24.0 to 0.25.0 (#3827)
  • build(deps): bump github.com/pion/interceptor from 0.1.31 to 0.1.32 (#3830)
  • build(deps): bump golang.org/x/crypto from 0.27.0 to 0.28.0 (#3828)
  • build(deps): bump github.com/pion/interceptor from 0.1.32 to 0.1.37 (#3840)

v1.9.1

15 Sep 21:39
79bb340
Compare
Choose a tag to compare

Fixes and improvements

General

  • fix cleaning of recordings in case of multiple recordDeleteAfter values (#3557) (#3741)
  • prevent setting readTimeout / writeTimeout to zero (#3750)
  • warn users about skipped tracks when reading or publishing (#3753)
  • mpegts: allow interacting with streams with unsupported codecs (bluenviron/mediacommon#147)

RTSP

RTMP

  • support ingesting AV1, VP9, H265, MP3, PCM from other servers (#3751)

HLS

RPI Camera

  • throw an error when trying to run the 32-bit server on 64-bit os and vice-versa (#3721)
  • fix compatibility with Raspberry Pi 5 and Camera Module 3 (#3715) (#3746)

Dependencies

  • bump GitHub actions (#3699)
  • build(deps): bump golang.org/x/term from 0.23.0 to 0.24.0 (#3735)
  • build(deps): bump golang.org/x/crypto from 0.26.0 to 0.27.0 (#3744)
  • build(deps): bump github.com/alecthomas/kong from 0.9.0 to 1.1.0 (#3757)
  • build(deps): bump github.com/alecthomas/kong from 1.1.0 to 1.2.0 (#3760)
  • build(deps): bump github.com/alecthomas/kong from 1.2.0 to 1.2.1 (#3763)
  • build(deps): bump github.com/matthewhartstonge/argon2 (#3767)
  • bump actions/setup-go (#3773)
  • build(deps): bump github.com/MicahParks/keyfunc/v3 from 3.3.3 to 3.3.5 (#3775)

v1.9.0

26 Aug 15:59
35c52ff
Compare
Choose a tag to compare

New major features

Raspberry Pi Camera

  • support Raspberry Pi OS Bookworm by embedding libcamera and libfreetype into the server. It's not necessary anymore to install or update libcamera (#2581) (#3665)
  • support Raspberry Pi 5 by adding a H264 software encoder (#2581) (#3670)

Fixes and improvements

General

RTSP

WebRTC

  • fix 'duplicate payload type' error in read page (#3543) (#3679)

RPI Camera

  • update font and link it to IBM repository (#3647)
  • add rpiCameraFlickerPeriod (#3463) (#3667)
  • fix passing unsigned integers to component (#3672)

Dependencies

  • build(deps): bump golang.org/x/term from 0.22.0 to 0.23.0 (#3626)
  • build(deps): bump github.com/pion/interceptor from 0.1.29 to 0.1.30 (#3627)
  • bump hls.js to v1.5.14 (#3624). Co-authored-by: mediamtx-bot bot@mediamtx
  • build(deps): bump golang.org/x/sys from 0.23.0 to 0.24.0 (#3643)
  • build(deps): bump golang.org/x/crypto from 0.25.0 to 0.26.0 (#3628)
  • bump hls.js to v1.5.15 (#3681). Co-authored-by: mediamtx-bot bot@mediamtx
  • build(deps): bump github.com/bluenviron/mediacommon (#3697)
  • build(deps): bump github.com/bluenviron/gortsplib/v4 (#3698)

v1.8.5

04 Aug 12:27
53e9470
Compare
Choose a tag to compare

Fixes and improvements

General

API

  • apidocs: add missing authentication-related parameters (#3607)
  • apidocs: add missing fields in /list and SRT connections (#3610)

RTSP

Dependencies

  • bump hls.js to v1.5.13 (#3540). Co-authored-by: mediamtx-bot bot@mediamtx
  • build(deps): bump github.com/datarhei/gosrt (#3559)

v1.8.4

07 Jul 19:41
1a4fd9c
Compare
Choose a tag to compare

Fixes and improvements

General

  • allow using MTX_QUERY inside source (#3486). this allows to pass query parameters to sources
  • fix support for HTTP preflight requests (#1792) (#3535)
  • h264: fix DTS extraction of NVC4000 streams (bluenviron/mediacommon#136). (#3094)

RTSP

RTMP

  • fix publishing from DJI FlightHub Sync (#3301) (#3504)

WebRTC

  • support publishing H265 tracks (#3435) (#3492). IMPORTANT NOTE: this doesn't allow to read H265 tracks with WebRTC, just to publish them. The inability to read H265 tracks with WebRTC is not in any way related to the server but depends on browsers and on the fact that they are not legally entitled to embed a H265 decoder.

SRT

  • process connection requests in parallel (#3382) (#3534)

Dependencies

  • build(deps): bump github.com/gorilla/websocket from 1.5.2 to 1.5.3 (#3470)
  • build(deps): bump golang.org/x/sys from 0.21.0 to 0.22.0 (#3530)
  • build(deps): bump golang.org/x/crypto from 0.24.0 to 0.25.0 (#3532)
  • build(deps): bump golang.org/x/term from 0.21.0 to 0.22.0 (#3533)
  • bump dependencies (#3537)

v1.8.3

12 Jun 15:45
9554fc4
Compare
Choose a tag to compare

Fixes and improvements

General

API

  • add CORS headers on non-existing pages too (#1792) (#3410)
  • fix crash when itemsPerPage is zero and there are items (#3425)

RTMP

HLS

WebRTC

  • support reading, publishing and proxying surround Opus (#3371) (#3375)
  • support reading, publishing, proxying LPCM tracks (#3437)
  • support reading, publishing and proxying stereo PCMU/PCMA tracks (#3402)
  • support reading G711 16khz tracks (#2848) (#3445)
  • in answer, include only codecs that are actually in use (#3374)
  • allow configuring timeouts (#3404) (#3406)
  • show error in case setRemoteDescription fails (#3416)
  • show error when setLocalDescription or createOffer fail (#3417)
  • fix proxying PCMU tracks (#3427)
  • speed up gathering of incoming tracks (#3441)
  • fix supported AV1 profiles (#3442)
  • set fmtp of outgoing VP9 and multiopus tracks (#3446)
  • on browsers, display error messages from server (#3448)
  • fix error "Failed to setup RTCP mux" on some readers (#3381) (#3449)
  • support passing JWT through Authorization header (#3248) (#3458)
  • support passing username and password through Bearer Token (#3248) (#3459)

Dependencies

  • bump hls.js to v1.5.9 (#3407). Co-authored-by: mediamtx-bot bot@mediamtx
  • bump hls.js to v1.5.10 (#3421)
  • build(deps): bump golang.org/x/term from 0.20.0 to 0.21.0 (#3424)
  • build(deps): bump golang.org/x/crypto from 0.23.0 to 0.24.0 (#3423)
  • bump hls.js to v1.5.11 (#3426)
  • bump pion/webrtc and pion/ice (#3436)
  • bump pion/webrtc (#3447)
  • build(deps): bump github.com/gorilla/websocket from 1.5.1 to 1.5.2 (#3450)

v1.8.2

19 May 12:53
0ace308
Compare
Choose a tag to compare

Fixes and improvements

General

API

  • make replace paths idempotent (#3362). Don't return a 404 error if the path doesn't exist yet by @bouk

RTSP

HLS

WebRTC

  • fix returning code 404 when a stream does not exist (#3369)

Dependencies

  • build(deps): bump golang.org/x/crypto from 0.22.0 to 0.23.0 (#3330)
  • build(deps): bump github.com/gin-gonic/gin from 1.9.1 to 1.10.0 (#3334)
  • bump GitHub Actions OS (#3341)
  • build(deps): bump github.com/MicahParks/jwkset from 0.5.17 to 0.5.18 (#3363)
  • build(deps): bump github.com/MicahParks/keyfunc/v3 from 3.3.2 to 3.3.3 (#3364)

v1.8.1

05 May 17:13
dcb5b45
Compare
Choose a tag to compare

Fixes and improvements

General

  • fix unexpected behavior of authInternalUsers or authHTTPExclude (#3316). when some subfields of authInternalUsers or authHTTPExclude were not set explicitly in the configuration file, default values were used in their place. This is caused by a strange behavior of Go (golang/go#21092)
  • fix 'no segments found' error message (#3323)
  • h264: support 4K videos encoded with tune=zerolatency (#2985) (bluenviron/mediacommon#120)
  • vp9: fix crash when retrieving width / height / chroma and frame is not a key frame (bluenviron/mediacommon#123)

RTSP

RTMP

  • fix error when reading metadata (#3302). some rtmp client will send set chunk size after publish stream

WebRTC

  • fix error when charset is in Content-Type (#3126) (#3318)

Dependencies

  • build(deps): bump github.com/pion/rtp from 1.8.5 to 1.8.6 (#3288)

v1.8.0

21 Apr 15:28
3d69edb
Compare
Choose a tag to compare

New features

  • support HTTPS, Allow-Origin and trusted proxies in API, playback server, metrics server and pprof server (#2658) (#2491) (#3235) (#3280)

Fixes and improvements

General

  • playback: improve precision when splitting fMP4 parts (#3250)
  • record: increase default part duration to 1s (#3264)
  • fix support for JWT authentication in API, metrics, playback, pprof (#3253). Co-authored-by: Rafael Scheidt [email protected]. Co-authored-by: aler9 [email protected]

API

  • fix crash when changing settings of an on-demand source that is idle (#3246) (#3249)
  • fix crash when calling config/paths/patch on an empty path config (#3265)

RTSP

HLS

  • fix population of runOnDemand's MTX_QUERY (#3255)

WebRTC

  • improve layout of publish page; add 'ideal' label to width, height and framerate (#2845) (#3254)
  • fix setting bitrate when 'optimize for voice' is off (#3262)
  • fix loading default video and devices from query (#3260)
  • in publish page, prevent same device from appearing multiple times (#3261)
  • detect stereo tracks published with the web page (#2902) (#3263)
  • support charset in Content-Type of WHIP offer responses (#3274)
  • support WHIP/WHEP endpoints without PATCH support (#3273) (#3277)

Dependencies

  • build(deps): bump github.com/pion/interceptor from 0.1.28 to 0.1.29 (#3259)
  • bump Go to 1.22 (#3279)