Contents

samplesRequiredForDecoderRefresh

The number of samples prior to the current sample, in decode order, the decoder requires to achieve a coherent output at the current decode time.

Declaration

var samplesRequiredForDecoderRefresh: Int { get }

Discussion

This property value is 0 when the decoder doesn’t require samples for refresh or when the track doesn’t contain this information.

Some sample sequences don’t indicate sample dependencies and instead indicate to decode a specific sample with all available accuracy. The system must decode samples in decode order before decoding the specific sample.

See Also

Accessing samples