Bug 313854

Summary: [Cocoa] Use AVCapturePhotoOutputReadinessCoordinator when taking photo
Product: WebKit Reporter: Eric Carlson <eric.carlson>
Component: MediaAssignee: Eric Carlson <eric.carlson>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Eric Carlson
Reported 2026-05-01 15:36:11 PDT
The first photo taken with AVCapturePhotoOutput is frequently all black, and photos taken with a specific size setting frequently fail with an "unknown error" - presumably because the capture pipeline is being reconfigured for the specified size. Use AVCapturePhotoOutputReadinessCoordinator to ensure we don't use AVCapturePhotoOutput until it signals it is ready.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-05-01 15:36:18 PDT
Eric Carlson
Comment 2 2026-05-01 15:48:41 PDT
EWS
Comment 3 2026-05-15 07:24:18 PDT
Committed 313310@main (79003b865f9f): <https://commits.webkit.org/313310@main> Reviewed commits have been landed. Closing PR #64076 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.