CameraX 1.7.0-alpha03

1.7.0-alpha03

Version 1.7

Added 5
  • Add Kotlin DSL camera2Interop extension blocks for preview, imageAnalysis, videoCapture, imageCapture, and SessionConfig.Builder, as well as CameraControl.applyCamera2InteropAsync extension function
  • Add new Camera2Interop configurator factory methods (forUseCase, forImageCapture, forSessionConfig, forCameraControl) and corresponding setInterop / applyInteropAsync methods on Preview.Builder, ImageCapture.Builder, ImageAnalysis.Builder, VideoCapture.Builder, SessionConfig.Builder, and CameraControl
  • Add helper methods to Camera2Interop and equivalent Kotlin extension properties (CameraInfo.cameraId, CameraInfo.cameraCharacteristics, and String.toCameraSelector()) to retrieve Camera2 camera ID and characteristics from CameraInfo
  • Add Preview.setMirrorMode, Preview.getMirrorMode and VideoCapture.setMirrorMode to public APIs
  • Add Kotlin DSL builders preview { ... }, imageCapture { ... }, imageAnalysis { ... }, and videoCapture { ... } for creating UseCases
Changed 1
  • Modify ImagePlane.buffer to be non-nullable ByteBuffer
Fixed 4
  • Fix an issue where binding multiple Preview use cases with an OverlayEffect caused one Preview stream delivery failure
  • Fix an issue where Recording.pause() and Recording.resume() failed when switching cameras during a persistent video recording
  • Fix HAL crashes when using Zero-Shutter Lag (ZSL) while zooming across physical camera boundaries on multi-camera devices
  • Fix an issue where HDR video recording could fail on Samsung Galaxy S25, S26, and Fold 7 devices
Removed 1
  • Remove the ExperimentalMirrorMode annotation from preview and video capture mirror mode APIs
Deprecated 2
  • Deprecate legacy Camera2Interop APIs (Camera2Interop.Extender, Camera2CameraControl, Camera2CameraInfo, and CaptureRequestOptions) in favor of Camera2Interop configurator factory methods and Kotlin extension functions
  • Deprecate the property getters on SessionConfig.Builder, HighSpeedVideoSessionConfig.Builder, and ExtensionSessionConfig.Builder in Kotlin DSL to enforce write-only properties

Deprecated legacy Camera2Interop APIs (Camera2Interop.Extender, Camera2CameraControl, Camera2CameraInfo, and CaptureRequestOptions) in favor of Camera2Interop configurator factory methods and Kotlin extension functions. (Ib0845, b/529609261) Added Kotlin DSL camera2Interop extension blocks for preview, imageAnalysis, videoCapture, imageCapture, and SessionConfig.Builder, as well as CameraControl.applyCamera2InteropAsync extension function. (I51af9, b/529609261) Added new Camera2Interop configurator factory methods (forUseCase, forImageCapture, forSessionConfig, forCameraControl) and corresponding setInterop / applyInteropAsync methods on Preview.Builder, ImageCapture.Builder, ImageAnalysis.Builder, VideoCapture.Builder, SessionConfig.Builder, and CameraControl. (I0007b, b/529609261) Added helper methods to Camera2Interop and equivalent Kotlin extension properties (CameraInfo.cameraId, CameraInfo.cameraCharacteristics, and String.toCameraSelector()) to retrieve Camera2 camera ID and characteristics from CameraInfo. (I11803, b/529609261) Added Preview.setMirrorMode, Preview.getMirrorMode and VideoCapture.setMirrorMode to public APIs, and removed the ExperimentalMirrorMode annotation. (I4ed60, b/519794349, b/470629643) Added Kotlin DSL builders preview { ... }, imageCapture { ... }, imageAnalysis { ... }, and videoCapture { ... } for creating UseCases. (I91df9, b/530013719) Modified ImagePlane.buffer to be non-nullable ByteBuffer. (I98593) Deprecated the property getters on SessionConfig.Builder, HighSpeedVideoSessionConfig.Builder, and ExtensionSessionConfig.Builder in Kotlin DSL to enforce write-only properties. (I2875b, b/534570559) Fixed an issue where binding multiple Preview use cases with an OverlayEffect caused one Preview stream delivery failure. (I7a383, b/532577546, b/532924417) Fixed an issue where Recording.pause() and Recording.resume() failed when switching cameras during a persistent video recording. (I71004, b/532327691, b/367121726) Fixed HAL crashes when using Zero-Shutter Lag (ZSL) while zooming across physical camera boundaries on multi-camera devices. (I1c374, b/527782712, b/514757157) Fixed an issue where HDR video recording could fail on Samsung Galaxy S25, S26, and Fold 7 devices. (Ic0827, b/529618629)

View original

Upgraded? How did it go?

Discussion