Class

AVFrameRateRange

An AVFrameRateRange object expresses a range of valid frame rates as minimum and maximum rate and minimum and maximum duration.

Declaration

class AVFrameRateRange : NSObject

Overview

An AVFrameRateRange object is immutable.

An AVCaptureDevice.Format object wraps a CMFormatDescription and expresses a range of valid video frame rates as an array of AVFrameRateRange objects.

An AVCaptureDevice object uses AVCaptureDeviceFormat to describe the formats it supports and the currently-active format.

Topics

Accessing Properties

var maxFrameDuration: CMTime

The maximum frame duration supported by the range.

var maxFrameRate: Float64

The maximum frame rate supported by the range.

var minFrameDuration: CMTime

The minimum frame duration supported by the range.

var minFrameRate: Float64

The minimum frame rate supported by the range.

Relationships

Inherits From

Conforms To

See Also

Examining Video Capture Attributes

var isVideoBinned: Bool

Indicates whether video data is produced in a binned format.

var isMultiCamSupported: Bool

A Boolean value that indicates whether AVCaptureMultiCamSession supports this format.

Beta
var isHighestPhotoQualitySupported: Bool

A Boolean value that indicates whether this format supports the highest photo quality that the platform can deliver.

Beta
var videoSupportedFrameRateRanges: [AVFrameRateRange]

Indicates the format’s supported frame rate ranges.

enum AVCaptureVideoStabilizationMode

Constants that describe the modes of video stabilization supported by the device's format.

func isVideoStabilizationModeSupported(AVCaptureVideoStabilizationMode) -> Bool

A Boolean value that indicates whether the format supports a given video stabilization mode.

var isVideoStabilizationSupported: Bool

Indicates whether the device supports video stabilization.

Deprecated

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software