The reasons the player is waiting begin or resume playback.


struct WaitingReason


Player Waiting Reasons

static let evaluatingBufferingRate: AVPlayer.WaitingReason

The player is monitoring the playback buffer fill rate to determine if playback is likely to complete without interruptions.

static let noItemToPlay: AVPlayer.WaitingReason

The player is waiting because there is no item to play.

static let toMinimizeStalls: AVPlayer.WaitingReason

The player is waiting for appropriate playback buffer conditions before starting playback.


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.

var timeControlStatus: AVPlayer.TimeControlStatus

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

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.