Since iOS gives control of the frame duration MinFrameDuration MaxFrameDuration
since the exposure time depends on the frame rate and frame duration By setting the minimum and maximum frame rates to a specific value, you will block the frame rate. This will affect your exposure time. Itโs also a very indirect way of controlling, maybe it helps your business.
Example:
if (conn.isVideoMinFrameDurationSupported) conn.videoMinFrameDuration = CMTimeMake(1, CAPTURE_FRAMES_PER_SECOND); if (conn.isVideoMaxFrameDurationSupported) conn.videoMaxFrameDuration = CMTimeMake(1, CAPTURE_FRAMES_PER_SECOND);
thar_bun
source share