Closed Nik2505 closed 3 years ago
use a boolean like takeImage = false:
on start record make it true,
and on imageAvailable check it if its true,
once you have taken and image make it false and stopRecording()
This is a bit tricky, as the ImageReader might stop returning images, so your FPS might drop to zero if nothing is going on on the screen.
Is there any way to get frames or images as per frame per second?