Drain FFmpeg stderr to prevent blocked camera streams #37

Merged
arnaud.dartois merged 2 commits from fix/agent-drain-ffmpeg-stderr into main 2026-10-21 20:53:18 +02:00
Owner

Summary

FFmpeg's redirected stderr is now drained continuously into a fixed-size buffer and its contents are not logged, since diagnostics can contain RTSP credentials. A regression test starts a fake FFmpeg process that writes 128 KiB to stderr and verifies that it exits instead of blocking. The audit records PR #36 and post-merge validation, and the implementation guide and README now match the shipped architecture and API.

Validation

  • Heimdall.Agent.Tests: 376/376 passed
  • CameraStreamServiceTests: 21/21 passed
  • Release solution build: 0 warnings, 0 errors
  • git diff --check passed
## Summary FFmpeg's redirected stderr is now drained continuously into a fixed-size buffer and its contents are not logged, since diagnostics can contain RTSP credentials. A regression test starts a fake FFmpeg process that writes 128 KiB to stderr and verifies that it exits instead of blocking. The audit records PR #36 and post-merge validation, and the implementation guide and README now match the shipped architecture and API. ## Validation - Heimdall.Agent.Tests: 376/376 passed - CameraStreamServiceTests: 21/21 passed - Release solution build: 0 warnings, 0 errors - `git diff --check` passed
arnaud.dartois added 1 commit 2026-10-21 20:07:36 +02:00
fix: drain ffmpeg diagnostics without blocking streams
Heimdall Gitea / Build and tests (pull_request) Successful in 28m20s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
48f0b46d99
arnaud.dartois added 1 commit 2026-10-21 20:44:41 +02:00
docs(audit): refresh digest remediation status
Heimdall Gitea / Build and tests (pull_request) Successful in 26m56s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
1fbbeb3b7e
arnaud.dartois merged commit 75a09aaf9a into main 2026-10-21 20:53:18 +02:00
arnaud.dartois added the area:agentarea:camerapriority:P2type:bug labels 2026-11-06 13:40:17 +01:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: arnaud.dartois/Heimdall#37