immersive-web / raw-camera-access

Spec draft: https://immersive-web.github.io/raw-camera-access/. Repository for experimentation around exposing raw camera access through WebXR Device API. Feature leads: Piotr Bialecki, Alex Turner, Nicholas Butko
Other
38 stars 12 forks source link

Notes from Face To Face 4/21/2022 #11

Open nbutko opened 2 years ago

nbutko commented 2 years ago

We discussed the current shape of the API at the Immersive Web Working Group Face to Face.

There’s a growing recognition in the working group that a lack of camera access has held back adoption of WebXR compared to alternatives like getUserMedia. The ironic effect of having an artificially limited api is that it pushes people toward less privacy sensitive alternatives. The goal should be to have user consent that is potentially improved from existing flows (whatever that entails) but is powerful enough to empower the gamut of valuable developer use cases.

In order to make the current proposal fully compatible with headsets, the following changes might be needed

Here are some examples of reasons developers choose use alternatives to WebXR because this API is lacking:

tangobravo commented 2 years ago

Thanks Nick. I believe this is one of two major barriers to adoption of WebXR on handheld devices - the other is around the "mode switch" of the immersive-ar session.

Camera access is a requirement for some (probably the majority) of our experiences for many of the same reasons as those you listed. However even with camera access, the limitations of the immersive-ar session would still prevent us from adopting WebXR in our tools and libraries - I'll talk about this more in the F2F session today.

In terms of the camera access API shape, the current proposal is acknowledged as being smartphone-only. I guess the overall question is do we attempt to move this current proposal forward (ie trying to work through the TAG issues and making it available without a flag in Chrome), or consider a more universal API for both headsets and phones. Or both?

From our side if the API meets our needs I can commit to integrating into Zappar's tools and libraries, which would probably result in immediate and significant usage of WebXR in the wild in our commercial projects and those of our partners. I think a simplified camera-first API that would also be applicable to headsets is achievable, but it would obviously need some interest from a browser vendor (likely Chromium in the first instance) to work on an alternative API.