The minimum frame duration of depth data.
- iOS 12.0+
- Mac Catalyst 13.0+
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
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
CMTime. 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.