For privacy reasons, we've decided to disable camera capture 15s after a screen lock occurs.
The majority of developers and users should see no changes at all from this policy. Chromium already keeps the screen awake when capturing is active and screen lock during capture is very rare. However, some systems may be configured to prevent screen wake locks at the OS level.
Before making this change we collected data on how often users encounter screen lock in an active getUserMedia() session. Only ~0.7% of sessions ever encounter screen lock and of those, a 15s timeout avoids disrupting > ~70% of them.
We will provide a command line flag to disable this behavior for folks who have niche use cases:
--disable-features=StopVideoCaptureOnScreenLock.
Thanks in advance for any discussion!
- dale