Type Property

AVPlayerItemPlaybackStalled

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

Declaration

static let AVPlayerItemPlaybackStalled: NSNotification.Name

Discussion

The notification’s object is the AVPlayerItem instance whose playback was unable to continue because the necessary streaming media wasn’t delivered in a timely fashion over a network. Playback of streaming media continues once a sufficient amount of data is delivered. File-based playback does not 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.

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