Contents

sourceSampleBuffer(byTrackID:)

Returns a source sample buffer for the track that contains the specified identifier.

Declaration

func sourceSampleBuffer(byTrackID trackID: CMPersistentTrackID) -> CMSampleBuffer?

Parameters

  • trackID:

    The identifier of the track that contains the source sample data.

Return Value

A sample buffer, or nil if not found.

See Also

Accessing source data