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

NativeCamera - Use the main camera on iOS rather than virtual camera #1136

Merged
merged 2 commits into from
Sep 16, 2022

Conversation

CoPrez
Copy link
Contributor

@CoPrez CoPrez commented Sep 15, 2022

This change makes it so that the NativeCamera plugin on iOS will use the devices main/primary camera for the VideoTexture. Previously it was picking the virtual (dual/triple) camera's first. The dual and triple cameras are a virtual camera that will swap between the different physical sensors on the device based on the zoom factor. Generally speaker they are the better camera to choose IF you are also in control of the zoom factor. That isn't currently the case for the Babylon implementation so it will be better to choose the main camera sensor instead of one of the virtual sensors.

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

Successfully merging this pull request may close these issues.

3 participants