Repository navigation
Fix/issues 90 91 - #93
Conversation
…, #91) - ffmpeg recorder/web live/snapshot get an RTSP socket timeout; a camera that accepts TCP but never answers parked ffmpeg in open forever, so no segment or Recordings row ever appeared while REC stayed lit - RecordingService handles a recorder that stops on its own: clears REC, finalizes the last row and raises RecordingFailed; camera page shows why - Name Windows socket errnos (-138 = timed out) and keep the RTSP "Failed reading RTSP data" warning in the error instead of a bare "Invalid data found"
- 10.0.0 pulls System.Security.Cryptography.Pkcs 10.0.0 with GHSA-2fmv-rv2c-59x7 (published 2026-10-13); NuGetAudit + warnings-as-errors fail restore on every head
PR Summary by QodoStop stalled RTSP recording and report unexpected recorder failures
AI Description
Diagram
High-Level Assessment
Files changed (14)
|
Code Review by Qodo
1.
|
- RecordingService keeps per-session state and handles each session's events in order: no finalize before the Started insert, no stale error from an earlier session, WroteSegment only after a row exists - Register the session before subscribing; recording sessions replay recent events, so a recorder that fails at once is still cleaned up - Pick -stimeout for ffmpeg 4.x (where -timeout means listen); WebRecorder reconciles and drops a recording whose ffmpeg exits on its own - FFmpeg warnings explain only avformat_open_input failures; neutral wording for recording failures (disk errors aren't the camera's fault)
Summary
Related
Type
Checklist
TreatWarningsAsErrors=true).dotnet test); new Core logic has unit tests.AppreferencesCoreonly (Infrastructure / Video / Devices wired via DI in a head).Platforms tested
Screenshots / notes