Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nbutko opened this issue Apr 21, 2022 · 1 comment
Open

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

nbutko opened this issue Apr 21, 2022 · 1 comment

Comments

@nbutko
Copy link

nbutko commented Apr 21, 2022

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

  • frames are not coupled to XR frames, but come on a callback or some other mechanism
  • frames are timestamped
  • camera to viewer transform
  • field of view for camera is provided

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

@tangobravo
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants