Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e330b5ddc996b2f137d22903a01b0a8f955e2fda
      
https://github.com/WebKit/WebKit/commit/e330b5ddc996b2f137d22903a01b0a8f955e2fda
  Author: Youenn Fablet <you...@apple.com>
  Date:   2024-11-19 (Tue, 19 Nov 2024)

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

  Log Message:
  -----------
  REGRESSION (iOS 18.2 Beta): Crash when presenting Camera via Web View in - 
WebCore::AVVideoCaptureSource::create
rdar://140122539
https://bugs.webkit.org/show_bug.cgi?id=283339

Reviewed by Chris Dumez.

Lazy create the timer when we need it (when producing data) to prevent creating 
it in UIProcess.

* Source/WebCore/platform/mediastream/mac/AVVideoCaptureSource.h:
* Source/WebCore/platform/mediastream/mac/AVVideoCaptureSource.mm:
(WebCore::AVVideoCaptureSource::AVVideoCaptureSource):
(WebCore::AVVideoCaptureSource::startProducingData):
(WebCore::AVVideoCaptureSource::captureSessionIsRunningDidChange):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to