Instance Method

makeSampleCursorAtFirstSampleInDecodeOrder()

Creates an instance of a sample cursor and positions it at the receiver's first media sample in decode order.

Declaration

func makeSampleCursorAtFirstSampleInDecodeOrder() -> AVSampleCursor?

Return Value

An instance of AVSampleCursor.

See Also

Creating Sample Cursors

var canProvideSampleCursors: Bool

A Boolean value that indicates whether the asset track can provide instances of sample cursors to traverse its media samples and discover information.

func makeSampleCursor(presentationTimeStamp: CMTime) -> AVSampleCursor?

Creates an instance of a sample cursor and positions it at or near the specified presentation timestamp.

func makeSampleCursorAtLastSampleInDecodeOrder() -> AVSampleCursor?

Creates an instance of a sample cursor and positions it at the receiver's last media sample in decode order.