Since the issue pertains to the Camera app, the first thing you should do to remediate this is to run the Camera troubleshooting utility. You will find the option for this in the Windows Settings.
You can test your webcam using online tools or programs that come with Windows 10 or your Mac computer.