Camera
Use your Mac's camera in a Windows, macOS or Linux VM. Apps see it as VirtualProg Camera.
- Windows uses its own built-in driver, so nothing needs to be installed in Windows.
- macOS needs VirtualProg Guest Tools 1.0 or later, and macOS 12.3 or later, in the VM.
- Linux needs VirtualProg Linux Guest Tools and a
v4l2loopbackvideo device. See Camera in Linux Guest Tools for setup and troubleshooting.
📸 Screenshot:
Fields
| Field | Description |
|---|---|
| Enable Camera | Gives the VM a camera. Off by default. |
| Use | Mac's Preferred Camera (default) is the camera macOS chooses, such as an iPhone with Continuity Camera when it is nearby. Or pick one camera. |
| Not Connected | A chosen camera that isn't connected now. The choice is kept; until the camera is back, the VM gets the Mac's preferred camera. |
Usage Notes
- Changes take effect the next time the VM starts from a shutdown. The setting can't be changed while the VM runs or is suspended.
- To switch cameras while the VM runs, click the camera button in the VM window's toolbar, use the
Camera item in the VM's menu in the Control Center, or, for Windows, Devices → Camera in
the Prism menu. An app using the camera shows the new picture. The switch lasts until the VM
stops; the next start uses this setting.
Remotely: the camera button on the web live screen, Camera in the iOS and Android apps
(live screen ••• menu or VM details), or
vpvm camera select. - The Mac's camera turns on, with its green light, only while an app in the VM uses the camera, and turns off when the app closes or the VM is paused.
- When you start the VM from the Mac app, VirtualProg asks for camera access, as it does for the microphone; you can also grant it in Permissions. Starts from the web, the command line, or in Server Mode don't ask. If access is denied, the VM gets a black picture; allow it in System Settings → Privacy & Security → Camera.
- Windows and macOS apps can choose 640×480, 1280×720, or 1920×1080 at 30 frames per second. The Mac's picture is cropped to fit, never stretched. Linux uses 1280×720 NV12 at up to 30 fps.
- In a macOS VM with the camera off, or without Guest Tools running, VirtualProg Camera shows a grey picture that says so.
- If the camera is unplugged while the VM uses it, VirtualProg switches to the Mac's preferred camera. A camera that another Mac app is using may show a black picture until it is free.
- A USB webcam can also be connected to a Windows VM with USB Devices. Windows then uses it, and its microphone, directly with its own driver, and your Mac can't use it until you disconnect it. macOS and Linux VMs can't use USB webcams: Apple's Virtualization framework doesn't support them.
- Templates have a Camera tab too: VMs created from the template get the setting. A snapshot shows it read only.
- You can also set the camera from the web dashboard (VM configuration → Camera), the iOS and
Android apps (Configuration → Camera), and the command line:
vpvm cameraslists the Mac's cameras andvpvm config camerasets them. See Command Line.
