- From: Jan-Ivar Bruaroey via GitHub <sysbot+gh@w3.org>
- Date: Thu, 27 Oct 2022 21:32:26 +0000
- To: public-webrtc@w3.org
jan-ivar has just submitted a new pull request for https://github.com/w3c/mediacapture-main: == Allow gUM prompt ahead of focus + deterministic "visible" enumeration wo/focus == Fixes https://github.com/w3c/mediacapture-main/issues/752: 1. Relax document (iframe) focus to tlbc [system focus](https://html.spec.whatwg.org/multipage/interaction.html#tlbc-system-focus) (a step in the right direction) 2. Allow Safari prompts in foreground tabs, while maintaining focus requirement on allow, per https://github.com/w3c/mediacapture-main/issues/752#issuecomment-921352150 3. Remove focus requirement on enumerateDevices, per https://github.com/w3c/mediacapture-main/issues/752#issuecomment-1293797299 4. Fix race spotted in https://github.com/w3c/mediacapture-main/issues/905#issuecomment-1293812378 which prevented deterministic visibility-success checks: ```js if (document.visibilityState == "visible") { await navigator.mediaDevices.enumerateDevices(); // won't block on visibility } ``` See https://github.com/w3c/mediacapture-main/pull/912 -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 27 October 2022 21:32:27 UTC