android / android/camera-samples
Using video and image capture use-cases together causing front camera preview lag on HUAWEI P40 PRO
Open
- Dominant language
- Kotlin
- Stars
- 5.5k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
CameraX video capture use case preview is causing lag when switched to the front-facing camera on HUAWEI P40 PRO with Android OS 12.0
Issue has been observed in official CameraXVideo sample and in the latest release as well.
Contributor guide
Research direction
Reproduce the lag in the official CameraXVideo sample on a HUAWEI P40 PRO running Android 12.0, using the video and image capture use cases together and switching to the front-facing camera. Compare behavior with the latest release and identify a reproducible fix; done means the front-camera preview no longer lags in this scenario.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100