PSA: Changed behavior of getUserMedia

869 views
Skip to first unread message

Palak Agarwal

unread,
Sep 18, 2021, 9:32:35 AM9/18/21
to discuss-webrtc

We’ve landed a CL that changes the behavior of getUserMedia in Chromium such that it will wait to resolve until the document calling it has focus. This brings us into compliance with the Media Capture and Streams specification (step 6.1)

https://crrev.com/c/3107186


To force enable the feature in Chrome, use the command line flag --enable-features="UserMediaCaptureOnFocus". This feature will be enabled shortly for some users on Canary and then gradually rolled out to Beta and Stable over the coming weeks. Please report any issues at the bug tracker: https://crbug.com/1250332


Philipp Hancke

unread,
Oct 5, 2021, 4:16:18 AM10/5/21
to discuss...@googlegroups.com
Is the GUMFocusStudy field trial (which doesn't show up in Chromium codesearch) related to this?

--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/e5f479ea-1ef8-4cf5-ac29-45e10e759db5n%40googlegroups.com.

Palak Agarwal

unread,
Oct 5, 2021, 4:29:41 AM10/5/21
to discuss...@googlegroups.com
Yes, that is correct.

You received this message because you are subscribed to a topic in the Google Groups "discuss-webrtc" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/discuss-webrtc/hpAVnDA9Ung/unsubscribe.
To unsubscribe from this group and all its topics, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/CADxkKiJurwFcWAy8g1M8s6njBEM19K-9nJujpv2FgPFX2g6d-g%40mail.gmail.com.


--

Palak Agarwal
Software Engineer
agp...@google.com
Reply all
Reply to author
Forward
0 new messages