A clock object used for output synchronization.
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+Beta
CMClock object is read-only and provides a timebase for all sample buffers in capture output. This can be used in conjunction with the clock from an
AVCapture object to synchronize capture output with external data sources such as motion samples.
For example, to synchronize output timestamps to the original timestamps provided by an input device, you can do the following in your
You can observe the value of this property using Key-value observing.