v0.23.4

bluenviron/mediamtxv0.23.4Jun 2, 2023by github-actions[bot]

AI Summary

This release focuses on security improvements, fixing regressions in external commands and authentication, and enhancing compatibility for RTSP, RTMP, and WebRTC protocols.

Key Highlights

  • Security update replacing math/rand with crypto/rand
  • WebRTC stream ID added to WHEP response headers
  • Fix for RTMP timestamp conversion errors
  • Fix for RTSP multicast support on unsupported interfaces
  • Support for MP4A-LATM-encoded AAC in RTMP and HLS

New Features

  • Allow special characters in external commands on Windows
  • Fix sending session ID to external authentication
  • Support for decimal FPS in Raspberry Pi Camera

Full Release Notes

## 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

* Add WebRTC stream id to whep response headers (#1879) by @vvitkovsky 

RTSP

* support otherDataPresent and crcCheckPresent inside StreamMuxConfig of MP4A-LATM format (https://github.com/bluenviron/mediacommon/issues/18) (https://github.com/bluenviron/mediamtx/issues/1881)
* fix using multicast when a single interface doesn't support it (https://github.com/bluenviron/gortsplib/issues/293) (https://github.com/bluenviron/mediamtx/discussions/1744)

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

* allow using decimal FPS (#1743) (#1873)

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)