Script to see if an app uses the camera

Hi there,

So, with the Lockdown I'm using Microsoft Teams quite a lot.
I already made an Apple Script to toggle my Microphone (hopefully), now I want something that toggles the camera too. Ok for sure, just giving it the keyboard shortcut would be easy, but I'd like it also to display the current state (am I visible or not). Any ideas on how to achieve that?

According to this, it's not really possible without disabling SIP and changing permissions on the camera driver:
Also, the issues page mentions a problem with Catalina.

Objective-See's Oversight app does let you block per app as well as showing notifications and active use in the menubar, and while not scriptable, it does write to a log that you can access.