Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0ee36699845551e329b74375fdc18d6a4e81cc64
https://github.com/WebKit/WebKit/commit/0ee36699845551e329b74375fdc18d6a4e81cc64
Author: Eric Carlson <[email protected]>
Date: 2026-07-30 (Thu, 30 Jul 2026)
Changed paths:
M Source/WebCore/platform/mediastream/cocoa/AVVideoCaptureSource.mm
Log Message:
-----------
ImageCapture.takePhoto() silently fails forever on a getUserMedia track after
one transient -[AVCaptureSession canAddOutput:] failure
https://bugs.webkit.org/show_bug.cgi?id=320666
rdar://183640839
Reviewed by David Kilzer.
Clear `m_photoOutput` if `-[AVCaptureSession canAddOutput:]` fails so we don't
try to
use the invalid `AVCapturePhotoOutput`.
* Source/WebCore/platform/mediastream/cocoa/AVVideoCaptureSource.mm:
(WebCore::AVVideoCaptureSource::photoOutput):
Canonical link: https://commits.webkit.org/318260@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications