Fixed
Status Update
Comments
ch...@google.com <ch...@google.com>
ch...@google.com <ch...@google.com> #2
Hi Ed, Thank you so much for these suggestions. I've been reviewing them and merging them in. Hopefully it should be live. I've included a thank you note too in the article.
ap...@google.com <ap...@google.com> #3
Great! Thanks a lot, I'll look for the live updates soon!
ch...@google.com <ch...@google.com> #4
Hi,
Before getting the CameraX releases with the fix, you can consider the following approaches to workaround this issue in your app:
- Force disable CameraX extensions for the back camera (id 0) on the Samsung A52s devices in your app.
- Force select camera id 2 for back lens facing setting with extensions enabled on the Samsung A52s devices in your app.
Once we get any update from Samsung, I will update the obtained info to this issue.
pr...@google.com <pr...@google.com> #5
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.camera:camera-extensions:1.5.0-alpha02
Description
This issue is created for tracking the forum issue link .
When the HDR extension on the CameraX library is used (while using the back camera), while the preview is running logcat displays these lines continuously:
This goes on and on. When capturing a photo, the capture callback is never called. In logcat I can see the following errors:
See the attached logcat file log1.txt.
When using the front camera, the preview issues the same logs while the preview is running. Capturing a photo sometimes work (looks like it works when there is not a lot of difference in light intensity). When it does not work, the following error is logged:
Tag name 'dynamicShotCaptureDuration' does not exist.
See the attached logcat file log2.txt.
I followed the API documentation. The sample library (https://github.com/android/camera-samples ) has the same behaviour. I also tried a third party CameraX app from the Play Store, taking a photo in HDR causes the same issue. Using code or an app that implements Camera2 directly does not cause any problems with HDR enabled.
Occurs with CameraX version: 1.3.4 and 1.4.0-rc01 I tried both PreviewView.ImplementationMode.PERFORMANCE and PreviewView.ImplementationMode.COMPATIBLE Extensions Bokeh and Face Retouch do work.
Device: Samsung Galaxy A52s 5G
Model: SM-A528B/DS
Android version: 14 (build number UP1A.231005.007.A528BXXS9GXG5)