Structure

AVPlayer.WaitingReason

The reasons the player is waiting begin or resume playback.

Declaration

struct WaitingReason

Topics

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.

Relationships

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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software