Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix preview and video size with satisfying conditions of multiple outputs. #689
In camera plugin,
According to API reference of createCaptureSession, guarantee range of output resolution is decided depending on the level of camera device in case of multiple output.
Currently, preview size and video capture size is decided only depending on StreamConfigurationMap.getOutputSizes(int).
This PR fixes preview size and video capture size to solve the problem.
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
Once you've signed (or fixed any issues), please reply here (e.g.
What to do if you already signed the CLA