Skip to content

Fix ARM64 camera usage event decoding - #77

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

Fix ARM64 camera usage event decoding#77
themartiano merged 1 commit into
mainfrom
codex/fix-camera-permission

Conversation

@themartiano

Copy link
Copy Markdown
Collaborator

Summary

  • model the V4L2 event payload union with its required 8-byte ARM64 alignment
  • decode client-usage counts from the real payload instead of padding
  • add regression coverage for every ABI offset and a live count payload

Verification

  • python3 -m unittest guest.tests.test_native_camera_bridge
  • make test
  • live disposable VM: 60/60 1280x720 NV12 frames captured, 60 unique hashes, one expected black priming frame, FaceTime HD Camera activated
  • producer restart while the consumer remained active recovered through SEND_INITIAL

@themartiano
themartiano merged commit 73f7b63 into main Sep 1, 2026
1 check passed
@themartiano
themartiano deleted the codex/fix-camera-permission branch September 1, 2026 18:26
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