The timebase information for the item.
SDKs
- iOS 6.0+
- macOS 10.8+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- AVFoundation
Declaration
@property(nonatomic, readonly) CMTimebase Ref timebase;
Discussion
Timebase information is used to synchronize playback of the current item with the master clock. You can use this property to access the timebase information, but you cannot use it to set the time or rate of playback.
If you need to respond to changes in the effective playback rate, the best way to do so is to respond to notifications posted the player item’s timebase
(see k
in <Core
). These notifications reliably announce when the effective rate of playback changes, including any compensation needed for drifting behaviors of audio output hardware.