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

Ultrawide-angle camera access? #1336

Open
gabrielwebphy opened this issue Aug 14, 2023 · 4 comments
Open

Ultrawide-angle camera access? #1336

gabrielwebphy opened this issue Aug 14, 2023 · 4 comments

Comments

@gabrielwebphy
Copy link

It seems that WebXR on mobile is only supported on the primary camera. Enabling the developer to choose which camera (if avaiable) to get the values from would help in different applications that need these special cameras to work properly.

@Manishearth
Copy link
Contributor

AIUI this is an implementor problem, not with the standard, the standard allows implementors to pick the camera however they wish, and they may show a prompt if they want to let the user pick.

We could add camera hints to the session initialization option, but we should get a clear understanding of what axes this should vary along.

@gabrielwebphy
Copy link
Author

gabrielwebphy commented Aug 14, 2023

Wait, so is it possible to let the user (or the developer) pick the camera of their choosing? Or are you saying that it is possible to implement it somehow in the near future? Sorry, I am relatively new to WebXR and didnt fully understand it.

@Manishearth
Copy link
Contributor

It is currently allowed for implementors (web browsers) to let the user pick the camera of their choosing. Whether or not implementors do this is not in the control of the WebXR specification (which is this group), and you should talk to the people who implement the browsers.

If we want to give webapp developers this power to influence the camera that is automatically selected, that could potentially be work this group could do if there was sufficient interest.

@AdaRoseCannon
Copy link
Member

It would be possible for a WebXR implementer such as a browser to implement if they chose to. There may still be limits from the platform the browser is on, after a quick search I don't think that right now it's even possible for the wide angle camera to be used with ARCore so it wouldn't be available to WebXR either.

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

3 participants