Field log: the PTZ re-init now keeps the camera and its stream (15:36),
but at 16:02:30 "Video Stalled" restarted the live555 stream, which cut
the recording. streamHandler::validate() (module factory, every ~5 s)
restarted the stream as soon as one validation saw no new frame, i.e.
after a single gap of ~5 s. That is normal now and then for a camera on
a mobile link.
- The stream is restarted after STREAM_STALL_CHECKS (3) validations in a
row without a new frame (~15 s): "Video Stalled (no frame for N s) -
restarting the stream". Shorter gaps are logged ("Video: no new frame
for N s (k/3)", "Video: frames again after N s").
- m_nValidatorFrameCounter is initialised (it was not).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0139veDo3XyavMuVhdnHcN16