Hello,
To troubleshoot this issue, please try the following steps:
- Check for updates. Select Start , then select Settings > Update & Security > Windows Update > Check for updates. If you see the option to View optional updates, select it to see if there are updates available for your camera. Allow available updates to install, then restart your device when it's ready.
Restart your PC. If you haven't restarted your device since the camera stopped working, you should do so. Select Start , then select Power > Restart. Waking up your device from sleep isn't the same thing as a restart.
Test your camera with the Camera app. Select Start , then choose Camera from the list of apps. If you're asked to allow access to the Camera, select Yes. If the camera works in the Camera app, the problem might be with the app you're trying to use.
- Check if the camera and microphone drivers are up to date. Go to Device Manager, locate the camera and microphone devices, right-click on them, and select "Update driver."
More details please refer to this link:https://support.microsoft.com/en-us/windows/camera-doesn-t-work-in-windows-32adb016-b29c-a928-0073-53d31da0dad5#WindowsVersion=Windows_10
Best Regards,
Hania
If the Answer is helpful, please click "Accept Answer" and upvote it.