Type Property

AVPlayerItemPlaybackStalled

A notification that’s posted when some media doesn’t arrive in time to continue playback.

Declaration

static let AVPlayerItemPlaybackStalled: NSNotification.Name

Discussion

The notification’s object is the player item whose playback is unable to continue due to network delays. Streaming-media playback continues once the player receives a sufficient amount of data. File-based playback doesn’t continue.

See Also

Sending Notifications

let AVPlayerItemFailedToPlayToEndTimeErrorKey: String

The key to retrieve an error object from the user info dictionary of an AVPlayerItemTimeJumped notification.

static let AVPlayerItemDidPlayToEndTime: NSNotification.Name

A notification that's posted when the item has played to its end time.

static let AVPlayerItemFailedToPlayToEndTime: NSNotification.Name

A notification that's posted when the item failed to play to its end time.

static let AVPlayerItemTimeJumped: NSNotification.Name

A notification that's posted when the item’s current time has changed discontinuously.

static let AVPlayerItemNewAccessLogEntry: NSNotification.Name

A notification that's posted when posted when a new access log entry has been added.

static let AVPlayerItemNewErrorLogEntry: NSNotification.Name

A notification that's posted when posted when a new error log entry has been added.