Files
vphone-cli/sources
zqxwceandClaude Opus 4.7 0223ad139c camera: Host-side virtual camera pipe (vphone-cli)
Mac-side feeder for the virtual camera. The host generates frames
(test pattern or video file) and pushes BGRA buffers over vsock to
the guest daemon vphoned, which mirrors them into the shm region
that the in-VM libvcamcaptured + libcamfix consume.

  VPhoneCameraServer        @MainActor vsock client to vphoned port
                            1338. Reconnects on transport failure
                            so the host can survive guest reboots.
  VPhoneFrameProducer       Test-pattern (hue-rolling gradient) and
                            VideoFile producers; emit BGRA at the
                            session's requested width/height/fps.
  VPhoneMenuCamera          Camera menu: pick source, start/stop
                            the feeder, show stream status.
  VPhoneMenuController/Connect/AppDelegate
                            Wire the menu into the existing menu
                            bar and start the server alongside the
                            other vsock services at VM boot.

End state: with a vphoned listener on the guest side, host-generated
BGRA frames appear in the shm region the camera daemon reads from.

Co-Authored-By: Claude Opus 4.7 <[email protected]>
2026-06-20 01:12:16 +03:00
..
2026-03-11 00:42:26 +08:00
2026-03-11 00:42:26 +08:00