I am working on a light (LED) communication system using an Android
phone camera as the receiver that does thresholding on camera frames. For that, I use preview's callback method onPreviewFrame
.
To be more accurate there's a need to delay the capture of a frame every few frames so that the system will re-synchronize.
My questions are:
- How do I delay the capture (not the preview) of a single frame?
- Is it possible that there are internal changes of the camera fps rate that i'm not aware of and if so how do I limit or change them?
*To limit the camera fps rate I use setPreviewFpsRange
, setAutoWhiteBalanceLock
and setAutoExposureLock
.