Contact emailsbial...@chromium.org

Explainer
https://github.com/immersive-web/front-facing-camera/blob/main/explainer.md

Specification

Summary

The front-facing camera API enables WebXR-powered experiences to express
their preference to use a front-facing (or "selfie") camera when creating
immersive sessions. Some XR device form factors, most notably smartphones,
have multiple cameras that can be used to power an immersive (generally AR)
experience. The native AR frameworks already allow developers to configure
the AR session by selecting the camera to be used - front-facing camera API
exposes this configuration knob through WebXR.


Blink componentBlink>WebXR>AR
<https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EWebXR%3EAR>

Motivation

Some XR device form factors, most notably smartphones, have multiple
cameras that can be used to power an immersive (generally AR) experience.
The native AR frameworks allow developers to configure the AR session by
selecting the camera to be used; however, this configuration knob is
currently unavailable in WebXR. The front-facing camera API changes that by
enabling sites to express their preference to use a front-facing camera
when creating immersive sessions. There are currently no (easy) possible
workarounds to this feature gap - the sites would have to write custom AR
frameworks, possibly on top of existing `getUserMedia()` and
`DeviceOrientation` APIs.


Initial public proposalhttps://github.com/immersive-web/proposals/issues/78

TAG review

TAG review statusPending

Risks


Interoperability and Compatibility



*Gecko*: No signal

*WebKit*: No signal

*Web developers*: No signals

*Other signals*:

WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that
it has potentially high risk for Android WebView-based applications?



Debuggability



Is this feature fully tested by web-platform-tests
<https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>
?No

Flag name

Requires code in //chrome?False

Estimated milestones

No milestones specified


Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/4889480736014336

This intent message was generated by Chrome Platform Status
<https://chromestatus.com/>.

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blink-dev+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAF%3D5cq-E-JpX9HkEfO5jXXeHwhkfOiuGunKD9aqGxFp3cVk4rQ%40mail.gmail.com.

Reply via email to