[webkit-changes] [WebKit/WebKit] 760a76: Take a background assertion for processes having m...
youennf
noreply at github.com
Mon Aug 26 12:01:32 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 760a765e8b6f0e1f976fe48b6bfa4fe63f6e5576
https://github.com/WebKit/WebKit/commit/760a765e8b6f0e1f976fe48b6bfa4fe63f6e5576
Author: Youenn Fablet <youenn at apple.com>
Date: 2024-08-26 (Mon, 26 Aug 2024)
Changed paths:
M Source/WebKit/UIProcess/WebPageProxy.cpp
M Source/WebKit/UIProcess/WebPageProxy.h
Log Message:
-----------
Take a background assertion for processes having muted capture
rdar://130691389
https://bugs.webkit.org/show_bug.cgi?id=278560
Reviewed by Chris Dumez.
To allow web application doing WebRTC streaming to quickly recover ts camera streaming when moving in the foreground after being backgrounded,
a background assertion is being taken in case a process is doing muted capture.
Manually tested by observing that a WebRTC connection continues sending black frames in a backgrounded tab on iOS.
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::updateThrottleState):
* Source/WebKit/UIProcess/WebPageProxy.h:
Canonical link: https://commits.webkit.org/282757@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list