v0.21.1
bluenviron/mediamtxv0.21.1Jan 8, 2023by github-actions[bot]
AI Summary
Major feature additions include H265 support for RTMP, HLS, and sources, along with WebRTC NAT traversal capabilities and improved Opus track support.
Key Highlights
- RTMP and HLS support for H265 tracks
- WebRTC NAT traversal parameters (ICEHostNAT1To1IPs, etc.)
- HLS support for Opus tracks
- WebRTC connection stability fixes (Firefox, timeout)
New Features
- RTMP and HLS support for H265
- WebRTC NAT traversal parameters
- HLS support for Opus tracks
Full Release Notes
### New features RTMP server * Support publishing with RTMP and H265 (tested with OBS Studio) (#1333) (#1279) https://github.com/aler9/rtsp-simple-server/commit/ad52b3fab7c7463b967c0ff3bf665c44dd1b08c2 HLS muxer * support reading H265 tracks with HLS (#1342) https://github.com/aler9/rtsp-simple-server/commit/5de600ffaaac18a854d55acabf38e8a52d8c9b48 * Support reading Opus tracks with HLS (#1338) https://github.com/aler9/rtsp-simple-server/commit/034e42f463133559c6a23844788e95e6ea11cedd HLS source * support proxying any number of tracks https://github.com/aler9/rtsp-simple-server/commit/3f7009f72a75f8bd735c9b74359cd0469aead0ae * support proxying H265 and Opus tracks https://github.com/aler9/rtsp-simple-server/commit/f837ba6a835e751b1c2b7ddb4e5e641c78cfc410 API * add ID to WebRTC readers (#1318) https://github.com/aler9/rtsp-simple-server/commit/f394c9f8a859d28e7320b7c159aebe2465595ab2 * add more attributes to WebRTC connections https://github.com/aler9/rtsp-simple-server/commit/e7e8d5ce20b1b591750961799548ceca0c09de48 WebRTC * allow connectivity inside a container or behind a NAT by adding parameters `webrtcICEHostNAT1To1IPs`, `webrtcICEUDPMuxAddress`, `webrtcICETCPMuxAddress` by @andrew-ld (#1323) https://github.com/aler9/rtsp-simple-server/commit/b27c363ecfc1ec878b0b5765c50a9fe77e2a4cf9 https://github.com/aler9/rtsp-simple-server/commit/b26f8486130ba5a8fce5a9d7d1900efac55f6f72 ### Fixes and improvements General * allow to set empty slices with empty env variables https://github.com/aler9/rtsp-simple-server/commit/090342a4130da79457e942869f1b71d82d340ed8 * fix crash when H264 or H265 parameters are nil (#1155) https://github.com/aler9/rtsp-simple-server/commit/59c0ef520feeda0f083e62d85d6aab268b9e0ff7 * fix removal of H264/H265 emulation prevention byte https://github.com/aler9/gortsplib/commit/3da2abc0f89505b6eaca5ef44d50fc69098f1463 * fix multiple crashes in H264/H265 DTSExtractor https://github.com/aler9/gortsplib/commit/07ad99402a7fb4d603ff6ffe1b508f878903d8e6 https://github.com/aler9/gortsplib/commit/f7e8c5b4bb88ad6f9d57e5d10280974991c5ac1b * improve DTS extractor in order to work with streams with incorrect timing infos https://github.com/aler9/gortsplib/commit/a759ba9d014b0f8d1d6757146342eecd60fde066 RTSP server * use random UUIDs as media IDs https://github.com/aler9/gortsplib/commit/ae9dac0ad356b6bf53eaa07a382389c714b965b8 * use UUIDs as session secrets https://github.com/aler9/gortsplib/commit/389252b621c0bb2d865388a9e8c210822fdf639a * Improved support for HE-AAC by @illuspas https://github.com/aler9/gortsplib/commit/57707b86297935cb96b4a27f972046c5a2f0b847 RTSP source * improve security when anyPortEnable is true https://github.com/aler9/gortsplib/commit/bf12e12afdbe7331e1173c54ca732b9c23b64b83 WebRTC * fix connection in case of high latency https://github.com/aler9/rtsp-simple-server/commit/bab5caee015ec7377104e394d464cc6da01f9925 * print ICE candidate descriptions https://github.com/aler9/rtsp-simple-server/commit/c42e2a5b8a68dfc11962293d1e055a83084eaec1 * fix HTTP status code of index page https://github.com/aler9/rtsp-simple-server/commit/5a0143056aebac535e358c593b76d7ffcd56f06b * fix freeze on Firefox https://github.com/aler9/rtsp-simple-server/commit/777860f7576dae5ad700c80a7842733811c6bcad * fix timeout in case of H264 tracks https://github.com/aler9/rtsp-simple-server/commit/ec1f957627ed58ab10611916d57c162575f89e10 * keep the WebSocket connection open in order to signal shutdowns https://github.com/aler9/rtsp-simple-server/commit/b20abbed6c6d51f68cc8d2a5132c27d9298221b6 HLS source * support MPEG-TS streams with metadata tracks https://github.com/aler9/rtsp-simple-server/commit/0c6385f0e8d24374b3d110f0d0878ab1eeb2db63 * download first playlist once https://github.com/aler9/rtsp-simple-server/commit/241c81dc566c558cefd950ff6434a746503d5b2b * fix crash in case of invalid EXT-X-MEDIA-SEQUENCE https://github.com/aler9/rtsp-simple-server/commit/31541765fd837493828f782d12cf84f985d0d40b * skip unsupported tracks https://github.com/aler9/rtsp-simple-server/commit/fa1c07253fe0b96e164ae0257e3c12340ef15674 HLS muxer * restore support for EXT-X-PRELOAD-HINT https://github.com/aler9/rtsp-simple-server/commit/242fa0bbba56426401404558f11fb39d673f4041 * add workaround for bug on latest iPhone iOS https://github.com/aler9/rtsp-simple-server/commit/37baa33fc8f3c9e73bc04a7904fb940ba93e32f3 * avoid an infinite loop when hlsAlwaysRemux is true https://github.com/aler9/rtsp-simple-server/commit/7420ef1ce47f754bd6085fcf3a8a00109c808c8f Raspberry Pi Camera * Initialize tuning file env var before lib init by @dedeibel (#1344) (#1345) https://github.com/aler9/rtsp-simple-server/commit/d15bde3a59291a9b6c8c4bfe9c6519d4c25f35f4