Contents

activeVideoMinFrameDuration

The currently active minimum frame duration.

Declaration

var activeVideoMinFrameDuration: CMTime { get set }

Discussion

A device’s minimum frame duration is the reciprocal of its maximum frame rate. You can set the value of this property to limit the maximum frame rate during a capture session. The capture device automatically chooses a default minimum frame duration based on its active format. After changing the value of this property, you can return to the default minimum frame duration by setting this property’s value to invalid. Choosing a new preset for the capture session also resets this property to its default value.

Attempting to set this property to a value not found in the active format’s videoSupportedFrameRateRanges array raises an exception (invalidArgumentException).

This property value is key-value observable.

See Also

Configuring frame durations