Skip to content

Releases: bluenviron/mediamtx

v0.23.5

07 Jun 10:48
c9eb1a5
Compare
Choose a tag to compare

Fixes and improvements

  • Add Docker images with FFmpeg included and change docker repository name (#1771) (#1909) (#1923). Available images now are:

    name FFmpeg included RPI Camera support
    bluenviron/mediamtx:latest
    bluenviron/mediamtx:latest-ffmpeg ✔️
    bluenviron/mediamtx:latest-rpi ✔️
    bluenviron/mediamtx:latest-ffmpeg-rpi ✔️ ✔️
  • return an error in case default configuration file can't be opened (#1920)

  • bump github.com/pion/webrtc/v3 from 3.2.8 to 3.2.9 (#1906)

v0.23.4

02 Jun 17:15
e2a6c38
Compare
Choose a tag to compare

Fixes and improvements

General

  • allow using special characters in external commands (#1652) (#1868), on Windows, when using cmd.exe or a bat file as external command.
  • print error that caused an external command to exit (#1869)
  • fix sending session ID to external authentication (#1871). this fixes a regression introduced in v0.23.0
  • replace math/rand with crypto/rand, increasing security (#1872)

WebRTC

RTSP

RTMP

  • fix timestamp conversion from RTSP/HLS to RTMP (#1899). this was causing moments of silence and timing errors when reading with RTMP a stream originally published with RTSP or HLS.
  • support reading MP4A-LATM-encoded AAC with RTMP and HLS (#1694) (#1898)

HLS

  • support reading MP4A-LATM-encoded AAC with RTMP and HLS (#1694) (#1898)

UDP

  • fix using multicast when a single interface doesn't support it (#1874)

RPI Camera

API

  • fix setting default parameters when creating a path (#1853) (#1905). . this fixes a regression introduced in v0.23.0.

Dependencies

  • build(deps): bump github.com/pion/webrtc/v3 from 3.2.6 to 3.2.8 (#1862)
  • build(deps): bump github.com/stretchr/testify from 1.8.3 to 1.8.4 (#1880)
  • build(deps): bump github.com/gin-gonic/gin from 1.9.0 to 1.9.1 (#1897)

v0.23.3

24 May 15:17
99aa0d0
Compare
Choose a tag to compare

Fixes and improvements

WebRTC

  • fix WHIP/WHEP implementation (#1857) (#1861). Offers and answers are now encoded in SDP in place of JSON; Location header is sent to clients. This fixes compatibility with GStreamer and whipsink.

HLS

Dependencies

  • bump github.com/pion/ice/v2 from 2.3.4 to 2.3.5 (#1854)
  • bump github.com/bluenviron/gohlslib from 0.2.4 to 0.2.5 (#1855)
  • bump github.com/pion/webrtc/v3 from 3.2.4 to 3.2.6 (#1856)

v0.23.2

20 May 09:22
65f617a
Compare
Choose a tag to compare

RTSP

WebRTC

  • Expose E-Tag, Accept-Patch and Link headers for cross-origin WHIP/WHEP requests (#1841)
  • add POST and PATCH methods to Access-Control-Allow-Methods (#1848)

API

  • allow using paths/list endpoint when a path is being deleted (#1849)

v0.23.1

20 May 08:46
cefa168
Compare
Choose a tag to compare

Note

This release is mostly dedicated to fix regressions introduced in v0.23.0. Major releases allow to introduce new features, but every addition is linked the risk of breaking something. Thanks to all the people that immediately tested the new version, reported issues and allowed to quickly develop the fixes included in this release: @tbnguyen1407, @alpe12, @felder, @nigelsim, @blu006, @Tokolosh, @0ip

Fixes and improvements

WebRTC

  • fix exception in browser when webrtcICEServers is empty (#1817) (#1821). this fixes a regression introduced in v0.23.0.

RTMP

  • fix crash when publishing video-only tracks (#1819) (#1822). this fixes a regression introduced in v0.23.0.

HLS

  • fix 404 error when hlsAlwaysRemux and sourceOnDemand are both true (#1818) (#1834)

API

  • bump API prefix from /v1 to /v2 (#1815)
  • add /get endpoints (#1577) (#1823). this allows to get entities by ID or name after /list endpoints were changed in v0.23.0.
  • fix wrong pageCount in /list endpoints (#1813) (#1824)
  • add item count to /list endpoints (#1813) (#1829)
  • sort results of /list endpoints (#1828)

General

  • fix missing H264/H265 keyframe warning message (#1825)

v0.23.0

16 May 18:24
adf9409
Compare
Choose a tag to compare

New features

General

RTMP

  • support publishing H265 and AV1 tracks with Enhanced RTMP (#1393) (#1446) (#1621) (#1756) . This restores compatibility with OBS 29.1.
  • support publishing, reading and proxying MPEG-2 audio (MP3) tracks (#1102) (#1736)

WebRTC

  • support publishing streams with WebRTC and the WHIP specification (#1659) (#1786). You can publish streams by either opening http://localhost:8889/mystream/publish` inside the browser or using the WHIP URL http://localhost:8889/mystream/whip.
  • support reading streams with WebRTC and the WHEP specification (#1800). You can read streams by either opening http://localhost:8889/mystream inside the browser or using the WHEP URL http://localhost:8889/mystream/whep.
  • support reading AV1 tracks with WebRTC (#1768)

API

  • add pagination to all /list endpoints (#1808) (BREAKING CHANGE)

Fixes and improvements

General

  • change repository owner (#1801)
  • print warning in case no key frames are being received (#1763)
  • return error in case of string-to-int overflows (#1776)
  • allow external authentication to return an error by using the HTTP body (#1756)
  • mpeg4audio: fix crash when unmarshaling specially-crafted ADTS packets (bluenviron/mediacommon#4)
  • mpeg4audio: fix number of channels of PS object types (https://github.com/bluenviron/5)
  • build(deps): bump github.com/pion/webrtc/v3 from 3.1.59 to 3.1.62 (#1721)
  • build(deps): bump golang.org/x/crypto from 0.8.0 to 0.9.0 (#1783)

WebRTC

  • validate ICE servers in configuration (#1798)
  • remove pion/ice replacement (#1803)
  • discard empty RTP packets coming from Chrome (#1804)
  • return 404 when a stream is not present (#1805)

RTSP

HLS

Raspberry Pi Camera

  • allow setting rpiCameraSaturation to 0 (#1651) (#1772)

Metrics

API

  • fix type of RTMPS readers (#1784) . it was wrongly set to RTMP.

v0.22.2

15 Apr 11:55
d7eadeb
Compare
Choose a tag to compare

Important announcement

rtsp-simple-server is being rebranded as MediaMTX. Furthermore, my main open source projects are being transferred to the bluenviron organization, in order to allow the community to maintain and evolve the code regardless of my personal availability.

Fixes and improvements

  • Fix regression introduced in v0.22.0 that corrupted H264 / H265 streams when option udpPayloadMaxSize was not explicitly set or was set to a value greater than 1472 (#1702) (#1711)

v0.22.1

13 Apr 18:34
02af80e
Compare
Choose a tag to compare

Important announcement

rtsp-simple-server is being rebranded as MediaMTX. Furthermore, my main open source projects are being transferred to the bluenviron organization, in order to allow the community to maintain and evolve the code regardless of my personal availability.

Fixes and improvements

General

  • build(deps): bump golang.org/x/net from 0.8.0 to 0.9.0 (#1655)
  • build(deps): bump golang.org/x/crypto from 0.7.0 to 0.8.0 (#1668)
  • allow additional characters in usernames and passwords (#1580) (#1666)
  • add remote port to HTTP requests in logs (#1663)
  • do not listen on IPv6 when host is 0.0.0.0 (#1665) (#1678)
  • metrics: log HTTP requests when logLevel is debug (#1687)
  • add read deadline to all incoming HTTP requests (#1689)
  • metrics: return metrics even if there are no paths or clients (#1688)
  • improve precision of H264 DTS extractor (bluenviron/mediacommon#1)

RTSP server / source

HLS Muxer

WebRTC

  • add viewport meta to hls and webrtc page (#1653)
  • webrtc: fix regression that broke webrtcICEUDPMuxAddress (#1680) (#1699)

RPI Camera

  • support running on 32-bit OS with 64-bit kernel (#1644) (#1700)

v0.22.0

01 Apr 18:18
adbd4b7
Compare
Choose a tag to compare

Important announcement

rtsp-simple-server is being rebranded as MediaMTX. Furthermore, my main open source projects are being transferred to the bluenviron organization, in order to allow the community to maintain and evolve the code regardless of my personal availability.

New features

General

  • support reading UDP/MPEG-TS streams (#1490)
  • add option to set max size of outgoing UDP packets (#1588) (#1601)

HLS Muxer

  • add option to dump segments on disk (#1322) (#1567)
  • make Low Latency-HLS the default variant (#1610)

Raspberry Pi Camera

  • add text overlay with current time (#1288) (#1604)
  • support two CSI cameras at once (#1573) (#1574)

Fixes and improvements

General

  • change prefix of environment variables, rename configuration file, repository and executable (#1639) (#1640) (#1641)
  • bump Golang to 1.20 (#1602)
  • Bump golang.org/x/net from 0.7.0 to 0.8.0 (#1594)
  • Bump github.com/fsnotify/fsnotify from 1.4.9 to 1.6.0 (#1595)
  • Bump golang.org/x/crypto from 0.5.0 to 0.7.0 (#1596)
  • Bump github.com/pion/webrtc/v3 from 3.1.47 to 3.1.58 (#1598)
  • Bump github.com/gookit/color from 1.4.2 to 1.5.3 (#1599)
  • Bump github.com/pion/ice/v2 from 2.3.1 to 2.3.2 (#1614)
  • Bump github.com/pion/webrtc/v3 from 3.1.58 to 3.1.59 (#1626)

RTSP server

RTSP source

v0.21.6

12 Mar 12:34
f4b9133
Compare
Choose a tag to compare

Important announcement

rtsp-simple-server is being rebranded as MediaMTX. Furthermore, my main open source projects are being transferred to the bluenviron organization, in order to allow the community to maintain and evolve the code regardless of my personal availability.

Fixes and improvements

General

RTMP server

HLS muxer

  • hls: make hlsEncryption optional even with Low-latency variant (#1420) (#1530) 4e57970

Raspberry Pi Camera

HLS Source