[webkit-changes] [WebKit/WebKit] d225f9: [Cocoa] System preferred camera should be first in...

Eric Carlson noreply at github.com
Thu Feb 16 07:11:23 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d225f9e01c911b3d786d0179f54dd0d4b4e36a73
      https://github.com/WebKit/WebKit/commit/d225f9e01c911b3d786d0179f54dd0d4b4e36a73
  Author: Eric Carlson <eric.carlson at apple.com>
  Date:   2023-02-16 (Thu, 16 Feb 2023)

  Changed paths:
    M Source/WTF/wtf/PlatformHave.h
    M Source/WebCore/platform/mediastream/mac/AVCaptureDeviceManager.mm

  Log Message:
  -----------
  [Cocoa] System preferred camera should be first in camera list
https://bugs.webkit.org/show_bug.cgi?id=252311
rdar://101872716

Reviewed by Jer Noble.

* Source/WebCore/platform/mediastream/mac/AVCaptureDeviceManager.mm:
(WebCore::AVCaptureDeviceManager::retrieveCaptureDevices): [AVCaptureDevice systemPreferredCamera],
when available, should always be first in the camera list.

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




More information about the webkit-changes mailing list