Contents

duration

The total duration of the primary item and scheduled interstitial events.

Declaration

var duration: CMTime { get }

Discussion

The duration property takes into account the interstitial event’s playoutLimit and resumptionOffset values.

Before loading the duration of the primary item, the value of this property is invalid. For livestreams, this value is indefinite.

See Also

Inspecting the snapshot