Instance Property

currentChunkStorageURL

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.

Declaration

var currentChunkStorageURL: URL? { get }

Discussion

When this property is nil, the storage location of the chunk is the URL of the sample cursor's track's asset, if it has one.

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 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.