[webkit-changes] [WebKit/WebKit] 855292: [Cocoa] Window/screen picker is not shown when ano...

Eric Carlson noreply at github.com
Fri Aug 25 14:59:51 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 855292ca7929c7ff9898d55b05d0d6d4b8488f09
      https://github.com/WebKit/WebKit/commit/855292ca7929c7ff9898d55b05d0d6d4b8488f09
  Author: Eric Carlson <eric.carlson at apple.com>
  Date:   2023-08-25 (Fri, 25 Aug 2023)

  Changed paths:
    M Source/WebCore/platform/mediastream/mac/ScreenCaptureKitSharingSessionManager.mm

  Log Message:
  -----------
  [Cocoa] Window/screen picker is not shown when another SCStream is active
https://bugs.webkit.org/show_bug.cgi?id=260735
rdar://114467908

Reviewed by Jer Noble.

`SCContentSharingPicker.maximumStreamCount` controls the maximum number of SCStreams that
can be active in a process. WebKit should allow an arbitrary number of window/screen
streams to be created, so set it to std::numeric_limits<unsigned>::max().

* Source/WebCore/platform/mediastream/mac/ScreenCaptureKitSharingSessionManager.mm:
(WebCore::ScreenCaptureKitSharingSessionManager::promptWithSCContentSharingPicker):

Canonical link: https://commits.webkit.org/267301@main




More information about the webkit-changes mailing list