Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
In M1 Ventura safari 16.1, when the constraints passed in by getDispl…
…ayMedia contain the 'ideal' parameter, screen sharing will fail. https://bugs.webkit.org/show_bug.cgi?id=247310 rdar://problem/101819966 Reviewed by Eric Carlson. The issue is that the intrinsic size computation is wrong in GPUProcess. This leads to a max size of (0, 0), which is used in case ideal constraints are used. Instead of using CGDisplayCopyDisplayMode, we use getShareableContentWithCompletionHandler API which does not need any change to the sandbox. * Source/WebCore/platform/mediastream/mac/ScreenCaptureKitCaptureSource.mm: (WebCore::ScreenCaptureKitCaptureSource::intrinsicSize const): Canonical link: https://commits.webkit.org/256458@main
- Loading branch information
Showing
1 changed file
with
35 additions
and
1 deletion.
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