[Webkit-unassigned] [Bug 260327] focusDistance is missing for Back Ultra Wide Camera of iPhone 13

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 21 09:41:47 PDT 2023


Eric Carlson <eric.carlson at apple.com> changed:

           What    |Removed                     |Added
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #3 from Eric Carlson <eric.carlson at apple.com> ---
WebKit only includes `focusDistance` for a camera if `-[AVCaptureDevice minimumFocusDistance]` doesnt' return -1, see [1], so apparently the iPhone 13 ultra wide camera doesn't support it.

[1] https://github.com/WebKit/WebKit/blob/main/Source/WebCore/platform/mediastream/mac/AVVideoCaptureSource.mm#L322

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230821/547b2e3c/attachment.htm>

More information about the webkit-unassigned mailing list