Contents

isAutoVideoFrameRateEnabled

A Boolean value that indicates whether the capture device performs automatic video frame rate adjustments.

Declaration

var isAutoVideoFrameRateEnabled: Bool { get set }

Discussion

You can enable this property on a device when its active format’s isAutoVideoFrameRateSupported property is true. When enabled, a capture device automatically adjusts the active frame rate based on light level. Under low light conditions, it decreases the frame rate to properly expose the scene. For formats with a maximum frame rate of 30 fps, the frame rate switches between 30-24. For formats with a maximum frame rate of 60 fps, the frame rate switches between 60-30-24.

Changing the device’s active format resets this property to its default value of false.