Releases: bluenviron/mediamtx
Releases · bluenviron/mediamtx
v0.21.5
v0.21.4
v0.21.3
v0.21.2
New features
General
Fixes and improvements
General
RTSP server
- rtsp server: make runOnConnect work again (#1409) 44fda66
- fix multiple crashes in SDP parser (#170) bluenviron/gortsplib@40574c4
RTSP source
- improve automatic protocol switching (#1105) bluenviron/gortsplib@71bd86c
- send TEARDOWN even when PLAY or RECORD have not been sent yet bluenviron/gortsplib@e3f21fc
- fix compatibility with some TP-Link cameras (#1267) bluenviron/gortsplib@82dac32
- print a log message when protocol switches from UDP to TCP bluenviron/gortsplib@14fcde1
HLS Muxer
RTMP Server
v0.21.1
New features
RTMP server
HLS muxer
- support reading H265 tracks with HLS (#1342) 5de600f
- Support reading Opus tracks with HLS (#1338) 034e42f
HLS source
API
WebRTC
- allow connectivity inside a container or behind a NAT by adding parameters
webrtcICEHostNAT1To1IPs
,webrtcICEUDPMuxAddress
,webrtcICETCPMuxAddress
by @andrew-ld (#1323) b27c363 b26f848
Fixes and improvements
General
- allow to set empty slices with empty env variables 090342a
- fix crash when H264 or H265 parameters are nil (#1155) 59c0ef5
- fix removal of H264/H265 emulation prevention byte bluenviron/gortsplib@3da2abc
- fix multiple crashes in H264/H265 DTSExtractor bluenviron/gortsplib@07ad994 bluenviron/gortsplib@f7e8c5b
- improve DTS extractor in order to work with streams with incorrect timing infos bluenviron/gortsplib@a759ba9
RTSP server
- use random UUIDs as media IDs bluenviron/gortsplib@ae9dac0
- use UUIDs as session secrets bluenviron/gortsplib@389252b
- Improved support for HE-AAC by @illuspas bluenviron/gortsplib@57707b8
RTSP source
- improve security when anyPortEnable is true bluenviron/gortsplib@bf12e12
WebRTC
- fix connection in case of high latency bab5cae
- print ICE candidate descriptions c42e2a5
- fix HTTP status code of index page 5a01430
- fix freeze on Firefox 777860f
- fix timeout in case of H264 tracks ec1f957
- keep the WebSocket connection open in order to signal shutdowns b20abbe
HLS source
- support MPEG-TS streams with metadata tracks 0c6385f
- download first playlist once 241c81d
- fix crash in case of invalid EXT-X-MEDIA-SEQUENCE 3154176
- skip unsupported tracks fa1c072
HLS muxer
- restore support for EXT-X-PRELOAD-HINT 242fa0b
- add workaround for bug on latest iPhone iOS 37baa33
- avoid an infinite loop when hlsAlwaysRemux is true 7420ef1
Raspberry Pi Camera
v0.21.0
New major features
WebRTC
RTSP
- Support multiple formats/codecs inside single tracks (#1103) (bluenviron/gortsplib@a139620)
Fixes and improvements
RTSP server / source
- update H265 track parameters when resolution, VPS, SPS or PPS change 39da300
- fix handling of oversized H264 RTP packets ffbdf51
- implement resizing of oversized H265 RTP packets 6524130
- fix freeze when reading a stream with both HLS and RTSP 0772db5
- fix support for LPCM tracks with no explicit channel count (#1292)
- fix overriding of previously-received RTP packets that leaded to crashes bluenviron/gortsplib@ffe8c87
HLS Muxer
- hls muxer: ask credentials again after failed attemps 478607a
API
- apidocs: add missing config parameters 7a5c426
v0.20.4
Fixes and improvements
Raspberry Pi Camera
- add docker images with libcamera included (#110)
- return an error when rpiCamera in used in two paths (#1257)
RTSP server
- return error in case of unexpected interleaved frames (bluenviron/gortsplib@2a5b3e3)
- allow invalid RTCP packets (bluenviron/gortsplib@99855bd)
RTSP source
- allow invalid RTCP packets (bluenviron/gortsplib@99855bd)
v0.20.3
New minor features
API / Metrics
Fixes and improvements
-
General
-
RTSP Server
- improve precision of NTP time in sender reports (bluenviron/gortsplib@f20350d)
- Fix parsing of Transport header with multiple transports (bluenviron/gortsplib#145)
- Fix decode error with H264 streams (bluenviron/gortsplib#150)
- Fix freeze that happened when timestamp of RTP packets was resetted and transport was UDP (bluenviron/gortsplib@34545be)
-
RTSP Source
- support tracks without clock rate (bluenviron/gortsplib@d521a78)
-
RTMP Server
- fix responses to ping requests (#1245)
-
Raspberry Pi Camera
- fix compatibility with libcamera 0.0.2 (3f5c550)
v0.20.2
Fixes and improvements
General
- Decode the content of RTP packets once and only when needed. This allows to save CPU when there's no need to decode RTP packets (for instance, when all streaming happens with RTSP) and when there are multiple RTMP readers, since previously RTP packets were decoded by each reader individually (#1218)
- add license file to binaries and docker images (#1138)
- try to fix DTS extraction of nvenc H264 streams (#1002)
Raspberry Pi Camera
- allow to use the Raspberry Pi Camera when running the server inside Docker (#1212) (#1110)
- fix compatibility with latest version of libcamera - please upgrade libcamera by running apt update && apt upgrade before using this version (#1195)
- avoid hanging during encode errors (#1133)
RTSP server
- fix memory leak (#1206)
- fix bug that allowed two readers to use the same UDP ports (bluenviron/gortsplib@0b75c24)
- server: when a session is closed, close all associated connections. This allows to close UDP publishers when they are kicked out (bluenviron/gortsplib@ededb49)
- show a warning when there are lost RTP packets (bluenviron/gortsplib@e8fde26)
- show a warning when there are oversized UDP packets (bluenviron/gortsplib@b1f72f9)
- wait for a packet with DTS equal to PTS before filling RTP-Info (bluenviron/gortsplib@dbb6934)
- log decode errors on screen (f7fdd60)
RTSP source
- show a warning when there are lost RTP packets (bluenviron/gortsplib@e8fde26)
- show a warning when there are oversized UDP packets (bluenviron/gortsplib@b1f72f9)
- support generic tracks with multiple formats (#1103)
- support FritzBox 660 Cable (#1119)
- log decode errors on screen (584cc93)
HLS source
- skip packets received before the 1st packet of the leading track; make sure that the initial DTS is zero (7981522)
- ignore data from unrecognized tracks in MPEG-TS segments (cc0d8f7)
api docs
- add missing rpicamera params (8cec54c)
v0.20.1
New minor features
-
HLS source
-
Raspberry Pi Camera
- many camera parameters have been added to the configuration file: rpiCameraHFlip, rpiCameraVFlip, rpiCameraBrightness, rpiCameraContrast, rpiCameraSaturation, rpiCameraSharpness, rpiCameraExposure, rpiCameraAWB, rpiCameraDenoise, rpiCameraShutter, rpiCameraMetering, rpiCameraGain, rpiCameraEV, rpiCameraROI, rpiCameraTuningFile, rpiCameraMode (#1198) (#1111)
Fixes and improvements
-
General
- Fix reading H264 streams that uses Annex-B encoding with a variable delimiter (bluenviron/gortsplib@b3c70f5)
- prepend SPS and PPS once when remuxing H264 stream. This allows to support H264 streams that have multiple IDR NALUs in the same group (8aa719e)
- impose a limit on the number of H264 NALUs during Annex-B and AVCC unmarshaling (bluenviron/gortsplib@e97d290)
-
RTSP server
- send RTCP sender reports to TCP clients too. This allows Nvidia Deepstream to compute the NTP timestamp of frames (bluenviron/gortsplib@0cfbb1f)
- when a H264 track has no SPS / PPS yet, do not insert a empty sprop-parameter-sets inside the SPS (bluenviron/gortsplib#129)
-
RTSP source
-
HLS source
-
HLS Muxer
- use segment IDs as segment names when hlsVariant is mpegts, this prevents conflicts that were previously caused by the fact that the timestamp was used as segment name (42b6e1f)
- add WWW-Authenticate header when external authentication is enabled (1e788f8)
- change m3u8 Content-Type to application/x-mpegURL (680b348)
- print only tracks that are effectively being converted (c9de689)
- fix compatibility with grafov/m3u8 (dfef383)
-
Raspberry Pi Camera
-
API
-
apidocs
- add missing methods rtmpsconns/*(3e529f4)