Contents

currentSampleAudioDependencyInfo

The independent decodability information for the audio sample.

Declaration

var currentSampleAudioDependencyInfo: AVSampleCursorAudioDependencyInfo { get }

Discussion

To position a sample cursor at the first sample that the audio decoder requires for a full refresh, move it back from the current sample until you find a sample that meets the following criteria:

You don’t need to reposition the cursorif the current sample is independently decodable with an audioSamplePacketRefreshCount of 0.

See Also

Getting sample information