natario1 / CameraView

📸 A well documented, high-level Android interface that makes capturing pictures and videos easy, addressing all of the common issues and needs. Real-time filters, gestures, watermarks, frame processing, RAW, output of any size.
https://natario1.github.io/CameraView
Other
4.94k stars 932 forks source link

Flash is not working while taking pictures #1205

Open AKMNAROLA opened 1 year ago

AKMNAROLA commented 1 year ago

Flash is not working during takePictureSnapshot time.

michelerenzullo commented 1 year ago

related to my #1204 , bad synch, because setFlash needs some time to set-up, is a bad synchronization of the two events, when PictureMetering is disabled(by default for takePictureSnapshot). We need a kinda of delay the two events, or something like an "await"