Check if you have the output right.. if it applies to your system - There's maybe "HeadPHONE" out and "HeadSET" out? If you're using the headset plug, it's maybe keeping the camera mic alive (glitching because it's confusing its native driver for the camera's mic driver or such-like issue).
In control panel/sound, in the "communications tab" "When Windows detects communications activity" try setting to "Do nothing" - maybe it's set to something like "Reduce the volume of other sounds by 50%".
I'm not saying your "volume" is at issue - but - because a 'communications' service attached to the cam's mic may be interrupting, causing other drivers to hang and just stay open.
Only other thing coming to mind right now is, maybe that cheap cam has drivers designed for XP or something's just not working as intended for some hardware-level reason.
If the cam is old, maybe try running it in 'compatibility mode' for say XP? (maybe a reboot after making the setting) - that way it might be fenced off from causing such issues.
Or/and - check if it runs at start up - disable that if you can then reboot.
Hope something here helps.
Pianoteq Studio Bundle (Pro plus all instruments) - Kawai MP11 digital piano - Yamaha HS8 monitors