You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2.9 KiB
2.9 KiB
v1.4.0
- CameraView is now completely thread-safe. All actions are asynchronous. (#97)
This has some breaking drawbacks. Specifically, the
get
methods (e.g.,getWhiteBalance
) might not return the correct value while it is being changed. So don't trust them right after you have changed the value. Instead, always check theCameraOptions
to see if the value you want is supported. - Added error handling (#97) in
CameraListener.onCameraError(CameraException)
. At the moment, all exceptions there are unrecoverable. When the method is called, the camera is showing a black preview. This is a good moment to show an error dialog to the user. You can also try tostart()
again but that is not guaranteed to work. - Long requested ability to set the picture output size (#99). Can be done through
CameraView.setPictureSize()
or through new XML attributes starting withcameraPictureSize
. Please refer to docs about it. - Deprecated
toggleFacing
. It was unreliable and will be removed. - Deprecated
getCaptureSize
. UsegetPictureSize
instead. - Fixed bugs.
https://github.com/natario1/CameraView/compare/v1.3.2...v1.4.0
v1.3.2
- Fixed a memory leak thanks to @andrewmunn (#92)
- Reduced memory usage when using cropOutput thanks to @RobertoMorelos (#93)
- Improved efficiency for Frame processors, recycle buffers and Frames (#94)
https://github.com/natario1/CameraView/compare/v1.3.1...v1.3.2
v1.3.1
- Fixed a bug that would make setFacing and other APIs freeze the camera (#86)
- Fixed ConcurrentModificationExceptions during CameraListener callbacks (#88)
https://github.com/natario1/CameraView/compare/v1.3.0...v1.3.1
v1.3.0
- Ability to inject frame processors to do your own visual tasks (barcodes, facial recognition etc.) (#82)
- Ability to inject external loggers (e.g. Crashlytics) to listen for internal logging events (#80)
- Improved CameraUtils.decodeBitmap, you can now pass maxWidth and maxHeight to avoid OOM (#83)
- Updated dependencies thanks to @v-gar (#73)
https://github.com/natario1/CameraView/compare/v1.2.3...v1.3.0