Fixes and improvements
General
- fix version reporting with --version (#3846) (#3847)
- make better use of Gin middleware system (#3849)
- pprof: fix required authentication action (#3850)
- restore pprof service (#3848) (#3851)
- fix setting version in Arch Linux package (#3852)
- warn instead of exiting when it is not possible to get version from git (#3857)
- fix wrong -dirty prefix in version (#3869)
- h264: improve performance of SPS parser (bluenviron/mediacommon#152)
- h264: fix memory filling up in case of malicious SPS (bluenviron/mediacommon#153). When CpbCntMinus1 is set to unreasonably high values, the RAM fills up.
RTSP
- support H264 with payload type 35 from Bosh Cameras (bluenviron/gortsplib#632)
- server: fix error message (bluenviron/gortsplib#634). Return error 'can't setup medias with different protocols' when trying to use UDP and TCP in sequence.
RPI Camera
- fix using software encoder when frame stride is different from frame width (bluenviron/mediamtx-rpicamera#18)
- improve performance of H264 hardware encoder (bluenviron/mediamtx-rpicamera#25). Performance is increased by sharing structs between multiple API calls.
- improve performace of H264 hardware encoder (bluenviron/mediamtx-rpicamera#26). remove call to poll()
- fix segfault when using invalid ROI or AfWindow parameters (bluenviron/mediamtx-rpicamera#27)
Dependencies
- bump hls.js to v1.5.17 (#3885)