objective-see / OverSight

OverSight monitors a mac's mic and webcam, alerting the user when the internal mic is activated, or whenever a process accesses the webcam.
GNU General Public License v3.0
511 stars 39 forks source link

Microphone on/off event addition / feature request #19

Open chromoxdor opened 3 years ago

chromoxdor commented 3 years ago

First of all thank you for this really nice software!

It does its job very well and i also found another purpose for it. My girlfriend does a lot of homeoffice recently a mainly videoconferences. So is use oversight to send httprequests with the camera status to an battery powered esp8622 attached to a neopixel to have an "onair" light. it works quite well. (should prevent me from entering our office/bedroom half naked again while a conference is taking place and while my girlfriend is at the toilet and is unable to warn me about the camera beeing on ) Unfortunately the microphone detection doesn’t work so well. (i only get a status when a program is accessing the mic. not when it mutes/unmutes) The Computer has an internal mic and an external. So with an applescript i put the input volume to 0 (works only for one mic...either internal or external) and back to mute and unmute ans also send the httprequest for the "mic-light" before we used mutekey where you can mute and unmute all microphones at once.....(feels somehow better to have the microphones muted all the time systemwide)

Now to my request: is it possible to add a detection for the status change (inputlevel =0 or inputlevel >0) of all the input devices? It would make a perfect "homeoffice, relationshipsaving helper app" and i think it is also in the spirit of the software to detect those changes.