Instance Property


A status that indicates whether playback is currently in progress, paused indefinitely, or suspended while waiting for appropriate network conditions.


var timeControlStatus: AVPlayer.TimeControlStatus { get }


When automaticallyWaitsToMinimizeStalling is true, the value of this property transitions between AVPlayer.TimeControlStatus.playing and AVPlayer.TimeControlStatus.waitingToPlayAtSpecifiedRate during playback depending on whether sufficient media data is available to continue playback.

This property is observable using Key-value observing.

See Also

Managing Automatic Waiting Behavior

var automaticallyWaitsToMinimizeStalling: Bool

A Boolean value that indicates whether the player should automatically delay playback in order to minimize stalling.

var reasonForWaitingToPlay: AVPlayer.WaitingReason?

The reason the player is currently waiting for playback to begin or resume.

struct AVPlayer.WaitingReason

The reasons the player is waiting begin or resume playback.

enum AVPlayer.TimeControlStatus

The player statuses indicating a playback rate change.

func playImmediately(atRate: Float)

Plays the available media data immediately, at the specified rate.