<!--
{
  "availability" : [
    "iOS: 12.0.0 -",
    "iPadOS: 12.0.0 -",
    "macCatalyst: 14.0.0 -",
    "tvOS: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCaptureDevice/activeDepthDataMinFrameDuration",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCaptureDevice(py)activeDepthDataMinFrameDuration"
  },
  "title" : "activeDepthDataMinFrameDuration"
}
-->

# activeDepthDataMinFrameDuration

The minimum frame duration of depth data.

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

## 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.

By default, the system derives the depth data frame rate from the video frame rate that [`activeVideoMinFrameDuration`](/documentation/AVFoundation/AVCaptureDevice/activeVideoMinFrameDuration) and [`activeVideoMaxFrameDuration`](/documentation/AVFoundation/AVCaptureDevice/activeVideoMaxFrameDuration) set. This property caps depth data independently of those values, so an app that needs depth less often than video can lower the depth data frame rate without changing the video frame rate it requests.

Setting this property to <doc://com.apple.documentation/documentation/CoreMedia/CMTime/invalid> resets it to the active depth data format’s default minimum frame duration. Setting this property to <doc://com.apple.documentation/documentation/CoreMedia/CMTime/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 ``doc://com.apple.avfoundation/documentation/AVFoundation/AVCaptureDevice/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 ``doc://com.apple.avfoundation/documentation/AVFoundation/AVCaptureDevice/unlockForConfiguration()`` to release the lock.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)