v1.0.1

bluenviron/mediamtxv1.0.1Aug 30, 2023by github-actions[bot]

AI Summary

Focuses on stability and codec support, raising limits for video sizes, adding Speex format support, and enhancing RTMP/RTSP capabilities with AV1/VP9 and RTMPE support.

Key Highlights

  • Increase MaxAccessUnitSize to 8 MiB and add limits on NALU counts and reordered frames for H264/H265.
  • Add support for publishing AV1/H265 with OBS 30 and VP9 tracks with RTMP.
  • Add support for ingesting RTMPE streams.
  • Add Speex format support in RTSP.
  • Allow publishers to set the title of the stream.

New Features

  • AV1/VP9 RTMP publishing
  • RTMPE ingestion
  • Speex format support
  • Stream title setting
  • Increased video size limits

Full Release Notes

## Fixes and improvements

General

* print warning when the write queue is full (https://github.com/bluenviron/mediamtx/issues/2251)
* limit logging of decode errors (https://github.com/bluenviron/mediamtx/issues/2253)
* fix maxReaders limit in case of multiple tracks (https://github.com/bluenviron/mediamtx/issues/2246) (https://github.com/bluenviron/mediamtx/issues/2264)

Codecs

* h264, h265: raise MaxAccessUnitSize to 8 MiB (https://github.com/bluenviron/mediacommon/issues/59) by @database64128 
* Raise maximum NALU count (https://github.com/bluenviron/mediacommon/issues/64) by @milaq 
* h264: add limit on maximum number of reordered frames (https://github.com/bluenviron/mediacommon/issues/65)
* mpegts: make 'PTS is missing' a decode error (https://github.com/bluenviron/mediacommon/issues/67)
* h264: support frame_mbs_only_flag = 0 (https://github.com/bluenviron/mediacommon/issues/68)
* av1: fix parsing sequence headers from libsvtav1 (https://github.com/bluenviron/mediacommon/issues/69)

RTSP

* add Speex format
* decode RTP time globally
* emit a decode error in case of packets with wrong SSRC
* allow publishers to set the title of the stream (https://github.com/bluenviron/mediamtx/issues/979)
* support routing ULPFEC group definitions
* client: support server-sent requests (https://github.com/bluenviron/gortsplib/issues/93) (https://github.com/bluenviron/gortsplib/issues/378)
* client: stop main routine immediately in case of a read error (https://github.com/bluenviron/gortsplib/issues/379)
* re-enable consistency checks on clock rate of tracks (https://github.com/bluenviron/gortsplib/issues/382)
* discard invalid video tracks (https://github.com/bluenviron/gortsplib/issues/381) (https://github.com/bluenviron/gortsplib/issues/383)
* ringbuffer: when buffer is full, preserve queued data (https://github.com/bluenviron/gortsplib/issues/386)
* ringbuffer: discard pending data when buffer is closed (https://github.com/bluenviron/gortsplib/issues/387)

RTMP

* allow RTMP streaming with codecid=av01 or hvc1 (https://github.com/bluenviron/mediamtx/issues/2232) by @ph0b 
* support publishing AV1/H265 with OBS 30 (https://github.com/bluenviron/mediamtx/issues/2217) (https://github.com/bluenviron/mediamtx/issues/2234)
* support publishing VP9 tracks with RTMP (https://github.com/bluenviron/mediamtx/issues/2247)
* fix conversion of AV1/VP9 tracks from HLS/RTMP to RTSP (https://github.com/bluenviron/mediamtx/issues/2263)
* support ingesting RTMPE streams (https://github.com/bluenviron/mediamtx/issues/2189)
* add limit on message body size (https://github.com/bluenviron/mediamtx/issues/2252)

HLS

* embed hls.js into the server (https://github.com/bluenviron/mediamtx/issues/2202) (https://github.com/bluenviron/mediamtx/issues/2236)
* bump hls-js to v1.4.10 (https://github.com/bluenviron/mediamtx/issues/2239)
* fix conversion of AV1/VP9 tracks from HLS/RTMP to RTSP (https://github.com/bluenviron/mediamtx/issues/2263)
* fix wrong protocol sent to external authentication server (https://github.com/bluenviron/mediamtx/issues/2213)
* hls source: fix formatting debug log messages (https://github.com/bluenviron/mediamtx/issues/2243)
* return 404 when requesting hls.min.js.map (https://github.com/bluenviron/mediamtx/issues/2262)

Dependencies

* build(deps): bump github.com/pion/webrtc/v3 from 3.2.14 to 3.2.15 (https://github.com/bluenviron/mediamtx/issues/2216)
* build(deps): bump github.com/pion/webrtc/v3 from 3.2.15 to 3.2.16 (https://github.com/bluenviron/mediamtx/issues/2220)
* build(deps): bump github.com/google/uuid from 1.3.0 to 1.3.1 (https://github.com/bluenviron/mediamtx/issues/2228)
* build(deps): bump github.com/pion/webrtc/v3 from 3.2.16 to 3.2.17 (https://github.com/bluenviron/mediamtx/issues/2229)
* build(deps): bump github.com/asticode/go-astits from 1.12.0 to 1.13.0 (https://github.com/bluenviron/mediacommon/issues/56)