mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-05 13:41:36 +02:00
Fix P2S camera stream dropping and snapshot capture race (#661) P2S firmware's TLS renegotiation is rejected by Debian's hardened GnuTLS defaults, causing ffmpeg RTSP sessions to drop after ~3 seconds. Add GnuTLS config allowing unsafe renegotiation and legacy ciphers. Also add ffmpeg fast-start flags, reduce reconnect delay from 1.0s to 0.2s, remove double rate-limiting on external camera streams, and fix orphan cleanup killing snapshot capture ffmpeg processes (exit code -9). Or as a single combined commit: Fix P2S camera streaming, snapshot race, and energy stats (#661, #695) Camera: P2S firmware's TLS renegotiation rejected by Debian's hardened GnuTLS defaults, dropping RTSP sessions after ~3s. Add GnuTLS compat config, ffmpeg fast-start flags, reduce reconnect delay to 0.2s, remove external camera double rate-limiting, and register snapshot ffmpeg PIDs with the orphan tracker to prevent SIGKILL during capture.