samplePresentationTime(forTrackTime:)
Maps the specified track time through the appropriate time mapping and returns the resulting sample presentation time.
Declaration
func samplePresentationTime(forTrackTime trackTime: CMTime) -> CMTimeParameters
- trackTime:
The track time for which to request the sample presentation time.
Return Value
The sample presentation time corresponding to the specified time; otherwise invalid if the time is out of range.