loadSamplePresentationTime(forTrackTime:completionHandler:)
Loads a sample presentation time that maps to the specified track time.
Declaration
func loadSamplePresentationTime(forTrackTime trackTime: CMTime, completionHandler: @escaping @Sendable (CMTime, (any Error)?) -> Void)func loadSamplePresentationTime(forTrackTime trackTime: CMTime) async throws -> CMTimeParameters
- trackTime:
The track time of the presentation time to load.
- completionHandler:
A callback that the system invokes after it finishes the loading request. It passes the completion handler the following parameters: