Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ios rapid capture #42

Merged
merged 5 commits into from
Mar 26, 2025
Merged

Fix ios rapid capture #42

merged 5 commits into from
Mar 26, 2025

Conversation

Kashif-E
Copy link
Owner

closes #32
This pull request includes significant updates to the cameraK module, including the addition of a new BurstCaptureManager class, updates to the CameraController class, and changes to the build configuration files to support these updates. Additionally, there are removals of certain plugins and functionalities in the Sample app.

Major changes:

New Features:

  • Burst Capture Management:
    • Added 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:

  • Camera Controller Updates:
    • Updated CameraController class to integrate BurstCaptureManager and MemoryManager, 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:

    • Updated compileSdk version from 34 to 35 in ImageSaverPlugin/build.gradle.kts, Sample/build.gradle.kts, and cameraK/build.gradle.kts. [1] [2] [3]
  • Dependency Updates:

    • Updated com.vanniktech.maven.publish plugin version from 0.28.0 to 0.30.0 in cameraK/build.gradle.kts.
    • Added atomicfu library dependency in cameraK/build.gradle.kts.

@Kashif-E Kashif-E added the enhancement New feature or request label Mar 26, 2025
@Kashif-E Kashif-E self-assigned this Mar 26, 2025
@Kashif-E Kashif-E merged commit c97eef1 into main Mar 26, 2025
@Kashif-E Kashif-E deleted the fix-ios-rapid-capture branch March 26, 2025 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash while capture photo in IOS
1 participant