[webkit-changes] [WebKit/WebKit] 448446: Account for identity in UserMediaCaptureManagerPro...

youennf noreply at github.com
Fri Mar 15 03:49:29 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 448446ef4d14d7648787ac0d062b2c759a1e935e
      https://github.com/WebKit/WebKit/commit/448446ef4d14d7648787ac0d062b2c759a1e935e
  Author: Youenn Fablet <youenn at apple.com>
  Date:   2024-03-15 (Fri, 15 Mar 2024)

  Changed paths:
    M Source/WebCore/platform/mediastream/RealtimeMediaSourceCenter.h
    M Source/WebKit/UIProcess/Cocoa/UserMediaCaptureManagerProxy.cpp

  Log Message:
  -----------
  Account for identity in UserMediaCaptureManagerProxy::startProducingData for camera
https://bugs.webkit.org/show_bug.cgi?id=270995
rdar://124631514

Reviewed by Eric Carlson.

When media environment is not available, we can still rely on identity safely.
The camera check is only accounting for media environment so we update it to check for identity as well,
so that it does not unnecessarily fail capture.

* Source/WebCore/platform/mediastream/RealtimeMediaSourceCenter.h:
* Source/WebKit/UIProcess/Cocoa/UserMediaCaptureManagerProxy.cpp:
(WebKit::UserMediaCaptureManagerProxy::startProducingData):

Canonical link: https://commits.webkit.org/276147@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