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

CameraX update (part4) using UseCaseGroup and setViewPort #644

Draft
wants to merge 1 commit into
base: try/camerax-update-1.0.0-rc-02-video-res
Choose a base branch
from

Conversation

mzorz
Copy link
Contributor

@mzorz mzorz commented Feb 22, 2021

This PR attempts to use UseCaseGroup to bind all use cases at once. Makes the code cleaner and hopefully CameraX will know how to use it to provide the best possible outcome in the future.

Inspired by the coretestapp in CameraX's integration tests code.

Note: as per my tests, this did not improve the problems seen in #638 significatively, but leaving this approach as a draft to resume later on.

@peril-automattic
Copy link

You can test the changes on this Pull Request by downloading the APK here.

@mzorz mzorz added the CameraX applicable only to CameraX implementation label Feb 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CameraX applicable only to CameraX implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant