Instance Property

currentSampleIndexInChunk

The index of the current sample within the chunk to which it belongs.

Declaration

var currentSampleIndexInChunk: Int64 { get }

See Also

Getting Current Sample Information

var currentChunkInfo: AVSampleCursorChunkInfo

A value that provides information about the chunk of samples to which the current sample belongs.

struct AVSampleCursorChunkInfo

A value that provides information about a chunk of media samples.

var currentChunkStorageRange: AVSampleCursorStorageRange

The sample range in the current chunk storage URL that is intended to be loaded together with the current sample as a chunk.

struct AVSampleCursorStorageRange

A struct indicating the offset and length of storage occupied by a media sample or its chunk.

var currentChunkStorageURL: URL?

The URL of the storage container of the current sample and other samples that are intended to be loaded in the same operation as a chunk.

var currentSampleDependencyInfo: AVSampleCursorDependencyInfo

The dependency information that describes relationships between a media sample and other media samples in the same sample sequence.

struct AVSampleCursorDependencyInfo

A value for describing dependencies between a media sample and other media samples in the same sample sequence.

var currentSampleDuration: CMTime

The presentation duration of the sample at the receiver's current position.

var currentSampleStorageRange: AVSampleCursorStorageRange

The offset and length of the current sample in the current chunk storage URL.

var currentSampleSyncInfo: AVSampleCursorSyncInfo

The synchronization information for the current sample for consideration when resynchronizing a decoder.

struct AVSampleCursorSyncInfo

A value that describes attributes of a media sample for consideration when resynchronizing a decoder.

func copyCurrentSampleFormatDescription() -> CMFormatDescription

Returns the format description of the sample at the receiver's current position.