Skip to content

Update Babylon Native for native camera fixes #505

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

Merged
merged 4 commits into from
Nov 23, 2022

Conversation

CoPrez
Copy link
Contributor

@CoPrez CoPrez commented Nov 22, 2022

Describe the change

This change updates the Babylon Native submodule to the latest. The primary change between the versions is an improvement to the NativeCamera plugin to support the MediaStream constraints WebAPI. Other changes coming in as well are:

  • Napi bug fixes and improvements
  • setTimeout polyfill improvements for Windows
  • Babylon Native unit test improvements

Testing

I've tested these changes on iOS and Android where NativeCamera is supported (it's not yet supported on Windows).

Copy link
Contributor

@bghgary bghgary left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions
Copy link

Here are the build results
Assembled
Assembled-iOSAndroid0.65
Assembled-iOSAndroid0.69
Artifacts will only be retained for 90 days.

@CoPrez
Copy link
Contributor Author

CoPrez commented Nov 22, 2022

Testing out a private BN branch to disable the unreachable code warning being thrown on Windows (where CameraDevice hasn't been implemented). I'll get that change committed to Babylon Native and swap back to the master branch after validating the fix and integrating it.

@github-actions
Copy link

Here are the build results
Assembled
Assembled-iOSAndroid0.65
Assembled-iOSAndroid0.69
Assembled-Windows0.65
Assembled-Windows0.69
Artifacts will only be retained for 90 days.

@CoPrez CoPrez enabled auto-merge (squash) November 22, 2022 23:42
@CoPrez CoPrez merged commit 2a0fb01 into BabylonJS:master Nov 23, 2022
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.

2 participants