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 the device is not found, see this fix.
If headphones are not working with the virtual machine, follow these instructions, i.e., enable enhanced session mode, install guest additions, etc.