What’s New

CameraX 1.5.0-alpha01

1.5.0-alpha01

Version 1.5.0-alpha01

A new artifact, camera-compose is released for the CameraX Viewfinder Compose Adapter which displays a Preview stream from a CameraX SurfaceRequest from camera-core. Added a new composable, CameraXViewfinder, which acts as an idiomatic composable that adapts CameraX SurfaceRequests for the composable Viewfinder. Provide API to set composition settings for dual concurrent camera video capture. The settings include alpha value for blending, offset in x, y coordinates, scale of the width and height of camera frame display window. The offset, width and height are specified in normalized device coordinates. Exposed CameraProvider.getCameraInfo to be a formal API. Added API PendingRecording.withAudioEnabled(boolean initialMuted) to control the initial mute state. Fixed the crash when bindToLifecycle is invoked with a destroyed LifecycleOwner. Fixed Preview is black screen in front camera while binding with VideoCapture on Motorola Edge 20 Fusion. Optimized the configuration for detecting zoom gestures in PreviewView to improve smoothness.

View original

Discussion