If your Camera is not working in a virtual machine in Hyper-V or VirtualBox, and you see a black screen or an error stating ...
It is the first thing you need to fix the issue as stated above. For that, you need to run the virtual machine showing the error and go to the Devices > Install Guest ...