Brondahl
Brondahl

Reputation: 8547

Is there a sensible way to detect if a users is on a video call, in C#?

I have a tool that helps me to track what I am doing with my time. I tell it what task I'm on, intermittently.

Because I'm bad at remembering to update the current task, I have it set up so that (whenever I'm using my computer) it prompts me "what are you doing?" every 15 minutes, so that I remember to update it. And if it realises I've been afk for 15 minutes then it records that the previous task stopped 15 minutes ago.

It uses mouse and keyboard hooks to detect that activity.

So far, so good.

But alas, I'm now spending lots of time on video calls, during which I'm working, but not giving mouse or keyboard inputs. So the tool (reasonably) decides that I must not be working. #sad

Is there any not-horribly-hacky way to detect "user is in a video call?"

If it's relevant my video tools are mainly Teams & Slack; sometimes Skype.

Upvotes: 0

Views: 260

Answers (1)

AZ Software
AZ Software

Reputation: 162

Microsoft Powertoys has an implementation that detects if you are in a Video Conference. Source Code Powertoys Documentation

Upvotes: 1

Related Questions