ActivityWatch / aw-watcher-window

Cross-platform window watcher (for use with ActivityWatch)
Mozilla Public License 2.0
83 stars 51 forks source link

Track webcam and microphone usage #63

Open iloveitaly opened 2 years ago

iloveitaly commented 2 years ago

https://github.com/antonfisher/go-media-devices-state

I think webcam and microphone could be two interesting additions to the heartbeat payload here. The idea would be:

If AFK is true but webcam and/or microphone are on, still treat this time as active. In other words, still track long-running video conferences as active time on the computer.

What do you think? Is this watcher the right place for it?

iloveitaly commented 1 year ago

@ErikBjare I found a way to do this:

https://github.com/Formlabs/Hackathon-2021-CheckMeet/blob/51625a4c96b5e2496dc382e7e82872547bf07c26/service/driver_mac.py#L79

Do you think mic and webcam usage should be a separate watcher?

The idea is you could update your computer usage to treat AFK but mic on as "meeting time" and essentially ignore AFK input for that time.

What do you think?

iloveitaly commented 11 months ago

@ErikBjare quick reminder here!

ErikBjare commented 11 months ago

Separate watcher probably best to begin with, can always merge it into aw-watcher-window later.

iloveitaly commented 11 months ago

awesome, that sounds like a plan!