[webkit-changes] [WebKit/WebKit] dcc6c1: Prevent crash when calling [AVCaptureSession init]...

youennf noreply at github.com
Fri Jun 14 09:31:55 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: dcc6c1646e3a0cc654c7cf3210536bc05c05e6e5
      https://github.com/WebKit/WebKit/commit/dcc6c1646e3a0cc654c7cf3210536bc05c05e6e5
  Author: Youenn Fablet <youenn at apple.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M Source/WebCore/platform/mock/MockRealtimeVideoSource.cpp
    M Source/WebKit/UIProcess/Cocoa/UserMediaCaptureManagerProxy.cpp

  Log Message:
  -----------
  Prevent crash when calling [AVCaptureSession init] in AVVideoCaptureSource
https://bugs.webkit.org/show_bug.cgi?id=275476
rdar://129801303

Reviewed by Eric Carlson.

We partially revert https://commits.webkit.org/277415@main, as it reintroduce the crash for safari view services.
We disable the checks specifically for iOS simulator, since there is no support for media endowments.

* Source/WebCore/platform/mock/MockRealtimeVideoSource.cpp:
(WebCore::MockRealtimeVideoSource::startProducingData):
* Source/WebKit/UIProcess/Cocoa/UserMediaCaptureManagerProxy.cpp:
(WebKit::UserMediaCaptureManagerProxy::startProducingData):

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