Instance Property

currentChunkInfo

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

Declaration

var currentChunkInfo: AVSampleCursorChunkInfo { get }

Discussion

If the media format that defines the sequence of samples does not signal chunking of samples in any way, each sample will be considered by the receiver as belonging to a chunk of one sample only.

See Also

Getting Current Sample Information

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 currentSampleIndexInChunk: Int64

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

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.