Cameraview: Flash did not Work!

Created on 25 Oct 2018  路  4Comments  路  Source: natario1/CameraView

Detailed steps to reproduce the issue:

1.when i call --->
cameraView.setFlash(Flash.ON);
cameraView.capturePicture();
Flash will work.
2.but when i call --->
cameraView.setFlash(Flash.ON);
cameraView.captureSnapshot();
Flash will work failure

Expected behavior:Flash work

Actual behavior:Flash didn't work

Screenshots:

Interesting logs:

question

Most helpful comment

@natario1
Why it not supported?

From one side, we can't take flashlight in snapshot mode, but can in take picture mode
But from another side, we can't rightly rotate image(i'm talking about ExifInterface in some phones) but it's fixing by take snapshot.

All 4 comments

version is 1.6.0

Flash does not work with snapshot, sorry!

Flash does not work with snapshot, sorry!
if there has the function of Flashlight,it will very nice,Thank you!

@natario1
Why it not supported?

From one side, we can't take flashlight in snapshot mode, but can in take picture mode
But from another side, we can't rightly rotate image(i'm talking about ExifInterface in some phones) but it's fixing by take snapshot.

Was this page helpful?
0 / 5 - 0 ratings