I take it that the OS is stock and undamaged so this sounds like a hardware failure. USB cameras being so cheap now, that's the quick check fix.
Bob