Bug 248054

Summary: [Cocoa] Use AVCaptureDeviceDiscoverySession for camera discovery
Product: WebKit Reporter: Eric Carlson <eric.carlson>
Component: WebRTCAssignee: Eric Carlson <eric.carlson>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, moritz.zimmermann, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=250142
Bug Depends on: 248245    
Bug Blocks:    

Eric Carlson
Reported 2022-11-17 14:17:46 PST
Use AVCaptureDeviceDiscoverySession for camera discovery instead of AVCaptureDevice
Attachments
Eric Carlson
Comment 1 2022-11-17 14:56:10 PST
Eric Carlson
Comment 2 2022-11-17 15:01:17 PST
EWS
Comment 3 2022-11-18 12:52:20 PST
Committed 256849@main (460662e8590c): <https://commits.webkit.org/256849@main> Reviewed commits have been landed. Closing PR #6604 and removing active labels.
WebKit Commit Bot
Comment 4 2022-11-22 12:53:59 PST
Re-opened since this is blocked by bug 248245
Eric Carlson
Comment 5 2022-11-28 12:35:08 PST
EWS
Comment 6 2022-11-28 16:50:11 PST
Committed 257094@main (358c50c87d32): <https://commits.webkit.org/257094@main> Reviewed commits have been landed. Closing PR #6872 and removing active labels.
Eric Carlson
Comment 7 2022-11-28 16:54:41 PST
*** Bug 247737 has been marked as a duplicate of this bug. ***
Mo
Comment 8 2022-11-29 00:36:51 PST
Could you verify if this change will allow access to other back cameras than just the default (wide-angle) on multi-camera iOS devices? For example these devices: - builtInDualWideCamera: https://developer.apple.com/documentation/avfoundation/avcapturedevice/devicetype/3377620-builtindualwidecamera - https://developer.apple.com/documentation/avfoundation/avcapturedevice/devicetype/3377622-builtinultrawidecamera
Eric Carlson
Comment 9 2022-11-30 17:58:38 PST
(In reply to Mo from comment #8) > Could you verify if this change will allow access to other back cameras than > just the default (wide-angle) on multi-camera iOS devices? > > For example these devices: > - builtInDualWideCamera: > https://developer.apple.com/documentation/avfoundation/avcapturedevice/ > devicetype/3377620-builtindualwidecamera > - > https://developer.apple.com/documentation/avfoundation/avcapturedevice/ > devicetype/3377622-builtinultrawidecamera This change exposes each of the physical cameras on a iOS device, which includes the ultra-wide angle camera on devices that have one. It does not expose the built-in "dual wide" or "triple wide" virtual cameras that automatically switch between physical cameras when zoom factor, light level, and focus position allow.
Mo
Comment 10 2022-12-01 00:05:09 PST
Thank you very much, this is invaluable to us! Would you know if support for iOS virtual cameras is planned for a future release?
Eric Carlson
Comment 11 2022-12-01 16:19:35 PST
(In reply to Mo from comment #10) > Thank you very much, this is invaluable to us! > > Would you know if support for iOS virtual cameras is planned for a future > release? Yes, we are planning to investigate adding support for the virtual cameras.
Eric Carlson
Comment 12 2023-01-09 09:31:26 PST
(In reply to Eric Carlson from comment #11) > (In reply to Mo from comment #10) > > Thank you very much, this is invaluable to us! > > > > Would you know if support for iOS virtual cameras is planned for a future > > release? > > Yes, we are planning to investigate adding support for the virtual cameras. https://bugs.webkit.org/show_bug.cgi?id=250142
Ahmad Saleem
Comment 13 2024-03-27 09:00:56 PDT
*** Bug 248106 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.