Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
closes #32
This pull request includes significant updates to the
cameraK
module, including the addition of a newBurstCaptureManager
class, updates to theCameraController
class, and changes to the build configuration files to support these updates. Additionally, there are removals of certain plugins and functionalities in theSample
app.Major changes:
New Features:
BurstCaptureManager
class to handle burst mode captures efficiently, optimizing for rapid sequential photo captures with minimal delay. This includes methods for requesting captures, processing pending captures, updating capture quality, and managing memory pressure.Codebase Simplification:
CameraController
class to integrateBurstCaptureManager
andMemoryManager
, adding support for burst mode captures and memory condition-based configurations. This includes methods for binding the camera, configuring capture use cases, and creating resolution selectors. [1] [2] [3] [4]Build Configuration:
Compile SDK Version Update:
compileSdk
version from 34 to 35 inImageSaverPlugin/build.gradle.kts
,Sample/build.gradle.kts
, andcameraK/build.gradle.kts
. [1] [2] [3]Dependency Updates:
com.vanniktech.maven.publish
plugin version from 0.28.0 to 0.30.0 incameraK/build.gradle.kts
.atomicfu
library dependency incameraK/build.gradle.kts
.