What’s New

CameraX 1.6.0-alpha02

1.6.0-alpha02

Version 1.6.0-alpha02

Added a groupable feature to denote the video stabilization feature in a session config. Developers can now request video stabilization as a required or preferred feature, aligning it with other groupable features like UHD_RECORDING, PREVIEW_STABILIZATION. Added groupable features to denote the video recording quality in a session config. Developers can now request a specific quality (e.g., UHD, FHD) as a required or preferred feature, aligning it with other groupable features like HDR and 60 FPS. Added support for using both the CameraEffect and the feature groups API in SessionConfig. Added support for using both the ImageAnalysis and the feature groups API in SessionConfig. Added addUseCase setter function for ExtensionSessionConfig.Builder and added the lacking getters for ExtensionSessionConfig. Added ExtensionsManager.getInstance API which is a suspending version of ExtensionsManager.getInstanceAsync Renamed isFeatureGroupSupported to isSessionConfigSupported, and make it support any types of SessionConfig. Converted ExtensionsManager into Kotlin implementation. Added CameraProvider#getCameraInfo(CameraSelector, SessionConfig) to retrieve CameraInfo when the SessionConfig can affect camera selection. For example, when using an ExtensionSessionConfig. Exposed ExtensionSessionConfig API. Apps can create an ExtensionSessionConfig and use it to create an extensions session now. The androidx.camera.video.HighSpeedVideoSessionConfig API is no longer experimental and is now a fully stable public API. The androidx.camera.core.SessionConfig API is no longer experimental and is now a fully stable public API. Fixed a crash due to an IllegalArgumentException: Dynamic range profile cannot be converted to a DynamicRange object: on Android 17 or higher. Excluded problematic YUV format output sizes from Samsung Z Fold 4 device. The received images have distortion issue when using those output sizes. Fixed CaptureRequest.FLASH_MODE not being applied when set through the Camera2Interop API. Fixed a device-specific issue on Samsung A53 where image capture with torch enabled would fail sometimes if VideoCapture use case is bound. Fixes an issue on some devices where using the flash with the ultra-wide camera may result in underexposed images.

View original

Discussion