Skip to content

Fix Mac camera activation after bridge reconnects - #74

Merged
themartiano merged 1 commit into
mainfrom
codex/fix-camera-activation
Sep 1, 2026
Merged

Fix Mac camera activation after bridge reconnects#74
themartiano merged 1 commit into
mainfrom
codex/fix-camera-activation

Conversation

@themartiano

@themartiano themartiano commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • request the initial v4l2loopback client-usage event with the correct Linux UAPI flag
  • restore on-demand Mac camera activation when a reader is already active during bridge startup or reconnect
  • add regression coverage for the subscription flag and configuration

Why

The bridge used 0x0002 (ALLOW_FEEDBACK) instead of 0x0001 (SEND_INITIAL). A pre-existing V4L2 reader could therefore be missed, leaving AVFoundation idle and /dev/video42 on its priming black frame.

@themartiano
themartiano merged commit 27fc5d9 into main Sep 1, 2026
1 check passed
@themartiano
themartiano deleted the codex/fix-camera-activation branch September 1, 2026 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant