Releases: bluenviron/mediamtx
v0.22.2
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
v0.22.1
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
- use normalized trackID in place of mediaUUID (bluenviron/gortsplib#190) (bluenviron/gortsplib#226)
- fix SDP unmarshaling with some Chinese cameras (bluenviron/gortsplib#201) (bluenviron/gortsplib#228)
- fix crash when Content-Length is set to a negative value (bluenviron/gortsplib#233)
- add MPEG-4 video format (bluenviron/gortsplib#236) (#1550)
- add MP4A-LATM format (bluenviron/gortsplib#237)
- add MPEG-TS format (bluenviron/gortsplib#244)
- support TCP read requests without interleaved IDs (bluenviron/gortsplib#246) (#1650)
HLS Muxer
- add viewport meta to hls and webrtc page (#1653)
- muxer: save init.mp4 on disk (bluenviron/gohlslib#20) (#1648)
- muxer: wait presence of segments before serving index.m3u8 and init.mp4 (bluenviron/gohlslib#22)
- muxer: improve disk write performance of MPEG-TS segments (bluenviron/gohlslib#23)
- muxer: change Content-Type of playlist and restore compatibility with iOS (bluenviron/gohlslib#24)
- muxer: truncate float values to 5 digits and restore compatibility with iOS (bluenviron/gohlslib#26)
- muxer: round PART-TARGET to milliseconds to avoid illegal changes (bluenviron/gohlslib#27)
WebRTC
- add viewport meta to hls and webrtc page (#1653)
- webrtc: fix regression that broke webrtcICEUDPMuxAddress (#1680) (#1699)
RPI Camera
v0.22.0
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
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
- use absolute RTSP URL as control attribute (bluenviron/gortsplib#210)
RTSP source
- Support JPEG comment markers in MJPEG encoder (bluenviron/gortsplib#219)
- fix parsing and generation of control attributes that contain RTSPS URLs (bluenviron/gortsplib#216)
v0.21.6
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
- switch to go 1.19 (#1563) 45727a6
- support H265 SPS with long_term_ref_pics_present_flag (#1441) (bluenviron/gortsplib#197) bluenviron/gortsplib@8be6bf7
- prevent generating empty H264/H265 RTP packets (#1505) bf691d1
- docs: Fix webrtcICEServers format in README.md. (#1528) 167c5ec
RTMP server
- rtmp: fix panic when publishing audio-only streams (#1459) (#1502) c7938eb
- rtmp: fix crash when receiving unexpected video packets (#1459) (#1504) 2cffea6
HLS muxer
Raspberry Pi Camera
- rpicamera: support libcamera 0.0.4 (#1544) (#1548) 695da99
- rpicamera: fix segmentation fault with older Raspberry Pis and Docker (#1513) (#1549) 25dc252
HLS Source
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