Quicktime not recording screen
I'm trying to use Quicktime to record my screen. I've done it multiple times in the past, with no problem. However, right now, when I click on "New Screen Recording" a window pops up that says "Quicktime Player encountered and error while recording your screen. Try using the Screenshot app instead."
Quicktime works fine when playing existing videos. I've also quit Quicktime and restarted my Mac. I've even updated Quicktime, all to no avail.
Can anyone help me fix the problem please?
MacBook Air 13″, macOS 13.5