What operating system are you running, for starters? Windows 10 has recently rolled out a bunch of permission “enhancements” that mean apps have to get permission to use cameras and mics.
If you’re on Win10, start with this: Getting your camera to work in the hellscape of Windows 10