v0.20.0

bluenviron/mediamtxv0.20.0Aug 16, 2022by github-actions[bot]

AI Summary

A major version adding native support for the Raspberry Pi Camera, RTMPS protocol support, and enhancements to the API.

Key Highlights

  • Native support for Raspberry Pi Camera
  • Support for RTMPS protocol
  • API: add 'created' field to sessions and connections
  • API: add published track list to paths/list

New Features

  • Native Raspberry Pi Camera support
  • RTMPS protocol support
  • API enhancements

Full Release Notes

### New major features

* Add native support for the raspberry Pi camera. Please take a look at the README in order to enable this feature (#1057)
* Support the RTMPS protocol (#1089)
* API: add "created" field to RTSP sessions, RTMP connections, HLS muxers (https://github.com/aler9/rtsp-simple-server/commit/092a2be3a842054683564a680416146095767e31)
* API: add published track list to /v1/paths/list (https://github.com/aler9/rtsp-simple-server/commit/101ea2544874cc964e1a9fb7ca1c1d06d4fc0dac)

### Fixes and improvements

* General: bump golang to 1.18, node to 16 (https://github.com/aler9/rtsp-simple-server/commit/8267f4c3bb2d06e4943788692a8fc000cc640a4c)
* General: print track codecs into logs (https://github.com/aler9/rtsp-simple-server/commit/cb8aec8844ba02ae0ac58c60581dd2111880379b)
* General: fix deadlock when sourceOnDemand is true and source exits (https://github.com/aler9/rtsp-simple-server/commit/f5a031d72ca3a4d9016b354a0667cfa3bc76a878)
* General: support HE-AAC v1 and HE-AAC v2 tracks (#1068)
* API: return static sources in paths/list even if sourceOnDemand is true (https://github.com/aler9/rtsp-simple-server/commit/7067c02030820fe241eaf25bec8a51fa211e6013)
* RTSP server: Return 501 and keep connection open in case of unhandled methods (#1066)
* RTSP server: fix freeze caused by race condition (https://github.com/aler9/gortsplib/commit/8883050f63da39de2516e234feabae5599cbd9ec)
* RTMP server / source: improve performance. Reuse existing structs instead of allocating them during every read() (https://github.com/aler9/rtsp-simple-server/commit/0db2d3eb8c47b71b30da7b98d5398c01570b53b7)
* RTMP server: set right command ID when replying to a play request (https://github.com/aler9/rtsp-simple-server/commit/a19a20abfb70359ef93849f0d62a00b498fb7ddb)
* RTMP server: fix reading metadata from onMetadata when there's no audio (https://github.com/aler9/rtsp-simple-server/commit/4990e98993c2b50df62376b10d4ce52b3902301b)
* RTMP server: stop inserting a AV_SEQHDR message before every IDR (https://github.com/aler9/rtsp-simple-server/commit/51e0bbd975ead00dbada88d558992ff265009aa3)