What's Changed
Fixes
- Camera RTSP session leak on resin printers — ffmpeg shutdown now uses graceful
SIGTERMbeforeSIGKILL, allowing the RTSPTEARDOWNto be sent and the printer's session counter to decrement properly. Adds ref-counted video lifecycle so the printer video endpoint is only enabled when viewers are active. (#387)
Thanks
Huge thanks to @alfiedennen for the deep-dive analysis of the RTSP session leak mechanism on the Saturn 4 Ultra 16K, identifying the SIGTERM vs SIGKILL teardown behavior, and providing actionable fixes. This release would not have been possible without your thorough investigation and willingness to share your findings. 🙏