Hacker News new | ask | show | jobs
by NitpickLawyer 170 days ago
> One does not simply get the camera status on a MacBook.

? OverSight [1] seems to work just fine. It pops up whenever something uses the mic or camera (the usage for this tool is to "monitor" for unwanted access from rogue apps). Since it's open source it should be possible to check how they get the status?

- https://github.com/objective-see/OverSight

2 comments

That's what I use. Oversight runs scripts on events, which is great. However! now you have the problem of rapid events with overlapping scripts ending up with inconsistent state. I solved that with a lock file, but still get stuck states sometimes.
Skimming the code, I think it also monitors log events.