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.
If the camera is spinning in-game on your Windows 11/10 PC, then these suggestions we have presented below in no particular order should help you resolve the issue on your gaming system. General ...