Instance Property


The time mappings from the track’s media samples to its timeline.


@property(nonatomic, copy, readonly) NSArray<AVAssetTrackSegment *> *segments;


The array contains instances of AVAssetTrackSegment.

See Also

Finding Track Segments

- segmentForTrackTime:

Returns the track segment that corresponds with, or is closest to, the specified track time.

- samplePresentationTimeForTrackTime:

Maps the specified track time through the appropriate time mapping and returns the resulting sample presentation time.