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

Add custom camera engine support #1070

Closed

Conversation

ObsidianX
Copy link
Contributor

Before you go

#1069

Solution

Added an API:

  • setCustomEngine(@NonNull CustomCameraEngine engine)

Since callbacks are owned by CameraView, are inaccessible via public APIs, and are required to instantiate CameraBaseEngine, the CallbackProxy class was added to allow the callbacks to be set by CameraView when switching to the custom engine, but without requiring the app to have access to them when instantiating the engine.

@ObsidianX ObsidianX closed this Mar 16, 2021
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.

1 participant