Bug 191570 - Allow access to the depth stream from the TrueDepth camera in media elements
Summary: Allow access to the depth stream from the TrueDepth camera in media elements
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Safari 12
Hardware: iPhone / iPad All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-11-12 16:36 PST by Jeff Huber
Modified: 2018-11-20 19:05 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>