CameraView icon indicating copy to clipboard operation
CameraView copied to clipboard

Flash sync with takePicture on Pixel 6

Open michelerenzullo opened this issue 1 year ago • 0 comments

In Pixel 6 there is an issue about synchronization between setFlash() and .takePicture()

We should take care to await the end of setFlash before calling takePicture, even more important when PictureMetering is off, to synchronize the two events.

  1. set Flash ON
  2. set PictureMetering OFF
  3. capture picture = flash never fire

In my code I setted a delay between setFlash and takePicture as workaround and it works

michelerenzullo avatar Dec 02 '22 06:12 michelerenzullo