Fixed
Status Update
Comments
ta...@google.com <ta...@google.com> #2
The basic issue is that QualitySelector doesn't have any public method to get the selected/chosen quality as an Int (or any other raw type like String) that would correspond to a (publicly defined) constant.
ta...@google.com <ta...@google.com>
v....@dental-monitoring.com <v....@dental-monitoring.com> #3
Project: platform/frameworks/support
Branch: androidx-main
Author: leo huang <
Link:
Add VideoCapture.getSelectedQuality() API
Expand for full commit details
Add VideoCapture.getSelectedQuality() API
This API allows retrieving the selected Quality for a VideoCapture instance based on the provided QualitySelector.
The getSelectedQuality() method returns a value only when the VideoCapture is bound to a lifecycle.
This API was requested by both JCA and 3rd-party developers.
Relnote: "Add VideoCapture.getSelectedQuality() to know the selected Quality based on the QualitySelector."
Bug: 204288986
Test: VideoCaptureTest
Change-Id: I7050868dea1f1654386c991d441c25af2e3f1fe4
Files:
- M
camera/camera-core/src/main/java/androidx/camera/core/impl/StreamSpec.java
- A
camera/camera-core/src/main/java/androidx/camera/core/streamsharing/PreferredChildSize.kt
- M
camera/camera-core/src/main/java/androidx/camera/core/streamsharing/ResolutionsMerger.java
- M
camera/camera-core/src/main/java/androidx/camera/core/streamsharing/StreamSharing.java
- M
camera/camera-core/src/main/java/androidx/camera/core/streamsharing/VirtualCameraAdapter.java
- M
camera/camera-core/src/test/java/androidx/camera/core/streamsharing/ResolutionsMergerTest.kt
- M
camera/camera-core/src/test/java/androidx/camera/core/streamsharing/VirtualCameraAdapterTest.kt
- M
camera/camera-video/api/current.txt
- M
camera/camera-video/api/restricted_current.txt
- M
camera/camera-video/src/main/java/androidx/camera/video/VideoCapture.java
- M
camera/camera-video/src/test/java/androidx/camera/video/VideoCaptureTest.kt
Hash: f24822959fa0cc4dc6b1c5400b1d4ab46fb2c18b
Date: Mon Dec 23 15:29:59 2024
ap...@google.com <ap...@google.com> #4
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.camera:camera-core:1.5.0-alpha05
androidx.camera:camera-video:1.5.0-alpha05
ta...@google.com <ta...@google.com> #5
We have added the device, the fix should be available from the next CameraX release (1.5.0-alpha04). Thanks!
pr...@google.com <pr...@google.com> #6
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.camera:camera-camera2:1.5.0-alpha04
Description
It has the same problem of the other redmi in that list, the torch is tuned off after the first photo is taken.
Thanks