Class

AVPlayerItemAccessLogEvent

A single entry in a player item's access log.

Declaration

@interface AVPlayerItemAccessLogEvent : NSObject

Overview

This object provides named properties for accessing the data fields of each log event. Each event is a single entry in an AVPlayerItem object's access log.

Topics

Getting Server-Related Log Events

URI

The URI of the playback item.

serverAddress

The IP address of the server that was the source of the last delivered media segment.

numberOfServerAddressChanges

A count of changes to the server address over the last uninterrupted period of playback.

mediaRequestsWWAN

The number of network read requests over a WWAN.

transferDuration

The accumulated duration, in seconds, of active network transfer of bytes.

numberOfBytesTransferred

The accumulated number of bytes transferred by the item.

numberOfMediaRequests

The number of media read requests from the server to this client.

Getting Playback-Related Log Events

playbackStartDate

The date and time at which playback began for this event.

playbackSessionID

A GUID that identifies the playback session.

playbackStartOffset

The offset, in seconds, in the playlist where the last uninterrupted period of playback began.

playbackType

The playback type.

startupTime

The accumulated duration, in seconds, until the player item is ready to play.

durationWatched

The accumulated duration, in seconds, of the media played.

numberOfDroppedVideoFrames

The total number of dropped video frames

numberOfStalls

The total number of playback stalls encountered.

numberOfSegmentsDownloaded

A count of the media segments downloaded from the server to this client.

Deprecated
segmentsDownloadedDuration

The accumulated duration, in seconds, of the media segments downloaded.

downloadOverdue

The total number of times that downloading the segments took too long.

Getting Bit Rate Log Events

The observed properties measure actual network download performance and indicated properties measure the bit rate of the media.

observedBitrateStandardDeviation

The standard deviation of the observed segment download bit rates.

observedMaxBitrate

The maximum observed segment download bit rate.

observedMinBitrate

The minimum observed segment download bit rate.

switchBitrate

The bandwidth value that causes a switch, up or down, in the item's quality being played..

indicatedBitrate

The throughput, in bits per second, required to play the stream, as advertised by the server.

observedBitrate

The empirical throughput, in bits per second, across all media downloaded.

averageAudioBitrate

The audio track’s average bit rate, in bits per second.

averageVideoBitrate

The video track’s average bit rate, in bits per second.

indicatedAverageBitrate

The average throughput, in bits per second, required to play the stream, as advertised by the server.

Relationships

Inherits From

Conforms To

See Also

Accessing Logs

- accessLog

Returns an object that represents a snapshot of the network access log.

- errorLog

Returns an object that represents a snapshot of the error log.

AVPlayerItemAccessLog

An object used to retrieve the access log associated with a player item.

AVPlayerItemErrorLog

The error log associated with a player item.

AVPlayerItemErrorLogEvent

A single item in a player item's error log.

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