You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 14, 2024. It is now read-only.
I am trying to integrate flash (user selects to capture an image with the flash on or off). I have noticed if the flash is run, and after the image is captured with the flash (it has run a pre-capture as well) the preview becomes dim after the flash. I am wondering if the line
1052 in Camera2Source.java:
Should be
mCaptureSession.setRepeatingRequest(mPreviewRequestBuilder.build(), mCaptureCallback, mBackgroundHandler);
As mPreviewRequest only gets set once on createCameraPreview.
Camera2Basic also has the mPreviewRequest passing in, so I wanted to verify why this has to the previewrequest set on start up and not the updated one. I using Pixel3
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am trying to integrate flash (user selects to capture an image with the flash on or off). I have noticed if the flash is run, and after the image is captured with the flash (it has run a pre-capture as well) the preview becomes dim after the flash. I am wondering if the line
1052 in Camera2Source.java:
mCaptureSession.setRepeatingRequest(mPreviewRequest, mCaptureCallback, mBackgroundHandler);
Should be
mCaptureSession.setRepeatingRequest(mPreviewRequestBuilder.build(), mCaptureCallback, mBackgroundHandler);
As mPreviewRequest only gets set once on createCameraPreview.
Camera2Basic also has the mPreviewRequest passing in, so I wanted to verify why this has to the previewrequest set on start up and not the updated one. I using Pixel3
The text was updated successfully, but these errors were encountered: