So if any application in the guest VM would access the webcam, it would get the contents of my image or video.
If this is possible, then is there also a way to do this from the command line, e.g. using VBoxManage?
Something like:
Code: Select all
VBoxManage controlvm MyVirtualMachine setwebcaminput /Users/RocketNuts/selfie.jpgP.S. I did notice there is a 'webcam' command, supposedly to be used like this:
Code: Select all
VBoxManage controlvm MyMachine webcam attach <path>VBoxManage: error: Attach emulated USB webcam (VERR_PDM_NO_USBPROXY)
VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component ConsoleWrap, interface IConsole, callee nsISupports
VBoxManage: error: Context: "WebcamAttach(path.raw(), settings.raw())" at line 2029 of file VBoxManageControlVM.cpp