Contents

currentSampleDuration

The decode duration of the sample at the cursor’s current position.

Declaration

var currentSampleDuration: CMTime { get }

Discussion

If the cursor needs to move past its current position to determine the decode duration of the current sample, the value of this property is indefinite. This condition can occur with streaming formats such as MPEG-2 transport streams.

See Also

Getting sample information