hovancik/stretchly

[Feature request]: Exclusions enhancement - Pause while camera is in use

Open

#969 opened on Jun 3, 2021

View on GitHub
 (29 comments) (8 reactions) (0 assignees)JavaScript (410 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (3,892 stars)
PR merge metrics
 (Avg merge 2d 7h) (14 merged PRs in 30d)

Description

Version

  • I'm using version 1.7.0

Existing requests

  • I've checked Existing requests

What operating system are you using?

Windows

Operating System Version

Windows 10 v 20H2

Problem description

In addition to pausing Stretchly while a specific app is running, there are times users would want to pause Stretchly when accessing certain websites (e.g. browser-based video calling like Google Meet, Jitsi Meet, Zoom (browser), or Facebook Video Call).

Possible solution

While I don't believe there's any way for a JS app to detect the webpages open in a different browser*, there are programmatic ways to detect when the device's camera is in use. This StackOverflow question might be a good starting place.

Alternative solutions

*I could be wrong about detecting open tabs in other browsers. In Windows, for example, when a user hovers over an open browser's taskbar icon, it displays a preview with the name of the active tab. If there's a way to fetch this via Javascript, then we could implement per-website Stretchly exclusions, which would be even better.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Contributor guide