dragonflight/services/capture/deltacast-bridge
Claude 08be8fea77 fix(deltacast-bridge): video EPIPE reopens FIFO instead of stopping port permanently
When a capture sidecar stopped/restarted, the bridge video thread got EPIPE
on the FIFO write, set g_port_stop[port]=1, and the port went dead — requiring
a full bridge restart to recover. Subsequent record attempts on that port would
hang in 'connecting' forever.

Fix: mirror the audio thread pattern — on EPIPE, close the FIFO and loop back
to open() blocking for the next reader. Hardware lock errors (SDK failures)
still stop the port via g_port_stop as before. Only reader-disconnect (EPIPE)
now recovers gracefully.

This was the cause of port 6 (Ghost) failure in the burn test.

🤖 Generated with Claude Code
2026-06-02 11:33:17 +00:00
..
CMakeLists.txt feat(deltacast): replace per-port bridges with shared multi-port daemon 2026-06-02 00:21:52 +00:00
main.c fix(deltacast-bridge): video EPIPE reopens FIFO instead of stopping port permanently 2026-06-02 11:33:17 +00:00