When changing a camera's exposure, AVFoundation provides a callback which offers the timestamp of the first frame captured with the new exposure duration: AVCaptureDevice.setExposureModeCustom(duration:, iso:, completionHandler:)
.
I want to get a similar callback when changing frame duration.
After setting AVCaptureDevice.activeVideoMinFrameDuration
or AVCaptureDevice.activeVideoMinFrameDuration
to a new value, how can I compute the index or the timestamp of the first camera frame which was captured using the newly set frame duration?