-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick 6406ada. rdar://problem/109896538
getDisplayMedia capture should mute other tabs when starting https://bugs.webkit.org/show_bug.cgi?id=257386 rdar://problem/109896538 Reviewed by Eric Carlson. We were muting other tabs within UserMediaProcessManager::willCreateMediaStream but only for microphone and camera as the screen/window code path was exiting early. Move the call to mute other tabs in WebPageProxy::willStartCapture so that it covers all code paths. Covered by API test. * Source/WebKit/UIProcess/UserMediaProcessManager.cpp: (WebKit::UserMediaProcessManager::willCreateMediaStream): * Source/WebKit/UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::willStartCapture): * Tools/TestWebKitAPI/Tests/WebKit/GetUserMedia.mm: (TestWebKitAPI::TEST): Canonical link: https://commits.webkit.org/264611@main Identifier: 263319.527@safari-7616.1.14.11-branch
- Loading branch information
Showing
3 changed files
with
40 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters