Permissions problem on Monterrey

Just getting my feet wet. Want to use video feed from M1Max MacBook Pro. Using the GettingStartedCapture example. Getting a permissions error message on console. Cannot seem to find a previous post relating to this. Any help would be appreciated.

BaseSrc: [avfvideosrc0] : Device video access permission has just been denied

Have you tried checking System Preferences >> Security >> Privacy and make sure Processing has camera access?