Instance Property

activeDepthDataMinFrameDuration

The minimum frame duration of depth data.

Declaration

@property(nonatomic) CMTime activeDepthDataMinFrameDuration;

Discussion

This property allows you to set the maximum depth frame rate of your capture device. Set the property as a duration, not a rate, by calling CMTimeMake(1, yourDesiredFrameRate).

Depth can be delivered only as an even fraction of the video frame rate. By setting a maximum depth frame rate, you ensure that the depth rate doesn’t climb above a certain threshold. For instance, if you need only intermittent depth data buffers, at a maximum of 10 fps, you can set activeDepthDataMinFrameDuration to CMTimeMake(1, 10). If you’re using a high fps video format, such as the 720p60 format that supports depth, you can get video at a high rate of 60 and still get depth at the low rate of 10.

See Also

Examining Depth Capture Attributes

supportedDepthDataFormats

The list of data formats compatible with this video format.

portraitEffectsMatteStillImageDeliverySupported

A Boolean indicating whether the device supports portrait matte effects in still-image capture.

videoMinZoomFactorForDepthDataDelivery

The minimum zoom factor supported when the device is configured for depth data delivery.

videoMaxZoomFactorForDepthDataDelivery

The maximum zoom factor supported when the device is configured for depth data delivery.

AVCaptureLensStabilizationStatus

Constants that indicate the status of optical image stabilization hardware during a bracketed photo capture.