Bug 191570

Summary: Allow access to the depth stream from the TrueDepth camera in media elements
Product: WebKit Reporter: Jeff Huber <jeffchuber>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: eric.carlson, jer.noble, joepeck, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 12   
Hardware: iPhone / iPad   
OS: All   

Description Jeff Huber 2018-11-12 16:36:40 PST
As discussed in Chrome, accessing the depth stream provides developers with a lot of powerful functionalities. See the W3 spec for documentation and use cases. https://www.w3.org/wiki/Media_Capture_Depth_Stream_Extension

Apple provides access to stream data from the TrueDepth camera, built into the iPhone X, Xs, Xs Max, Xr, and new iPad pro. https://developer.apple.com/documentation/avfoundation/cameras_and_media_capture/streaming_depth_data_from_the_truedepth_camera

It would be great if this data could be accessed via the web instead of needing to rely on native SDKs. There is precedent in the Chromium project: https://01.org/chromium/blogs/astojilj/2017/depth-camera-capture-html5
Comment 1 Radar WebKit Bug Importer 2018-11-13 10:40:35 PST
<rdar://problem/46033653>