microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.22k stars 6.54k forks source link

[VideoConferenceMute] Add command hooks for state changes #12933

Closed frabarz closed 1 year ago

frabarz commented 3 years ago

Description of the new feature / enhancement

I was reading HN and found this article about a way to turn on/off a sign when someone is in a conference, but the procedure is thought for Linux. Since Video Conference Mute monitors camera/mic activity, it would be great if we could have this functionality integrated, and use it to run a custom command when some activity state changes.

Scenario when this would be used?

Depending on the user configuration, the hook would run when the camera, the microphone, or both, change from inactive to active, or backwards. This command could execute a local app, run a PowerShell script, or make a request with Invoke-WebRequest/curl to change the state/color of a smart bulb, and indicate someone is busy in a videocall.

Supporting information

This article is the source of the thought: https://fedoramagazine.org/automatically-light-up-a-sign-when-your-webcam-is-in-use/

crutkas commented 1 year ago

no direct plans here