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. After any updates are installed, 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 PC from sleep isn't the same thing as restarting it.
Did that fix your problem?