---
title: activeDepthDataMinFrameDuration
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcapturedevice/activedepthdataminframeduration
---

# activeDepthDataMinFrameDuration

The minimum frame duration of depth data.

## Declaration

```swift
var activeDepthDataMinFrameDuration: CMTime { get set }
```

## Discussion

Discussion Use this property to set an upper limit to the frame rate at which the system produces depth data. Lowering the depth data frame rate typically lowers power consumption which increases the time the camera can run before it reaches an elevated system pressure state. Setting a value outside the active depth data format’s supported frame rate range produces an exception. Setting this property to invalid resets it to the active depth data format’s default minimum frame duration. Setting this property to positiveInfinity results in a depth data frame rate of 0. This value gets reset whenever either the active video format or the active depth data format changes. important: Before changing the value of this property, you must call lockForConfiguration() to acquire exclusive access to the device’s configuration properties. Otherwise, setting the value of this property raises an exception. When you’re done configuring the device, call unlockForConfiguration() to release the lock.

## See Also

### Configuring frame durations

- [activeVideoMinFrameDuration](avfoundation/avcapturedevice/activevideominframeduration.md)
- [activeVideoMaxFrameDuration](avfoundation/avcapturedevice/activevideomaxframeduration.md)
