I'm trying to run some commands when I start and stop using the (built in) webcam on my 2015 iMac running Catalina.
It sounds like historically lsof | grep "AppleCamera" would once tell me if the webcam is being used. However I'm not getting that to work on Catalina, is there an alternative process name or other method?