Contents

currentSampleStorageRange

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

Declaration

var currentSampleStorageRange: AVSampleCursorStorageRange { get }

Discussion

If the current chunk isn’t stored contiguously in its storage container, the property value’s offset is -1. In such cases use AVSampleBufferGenerator to obtain the sample data.

See Also

Getting sample information