Class

AVPlayerItemAccessLogEvent

An AVPlayerItemAccessLogEvent object represents a single entry in an AVPlayerItem object’s access log.

Overview

This object provides named properties for accessing the data fields of each log event.

Topics

Getting Server Related Log Events

var uri: String?

The URI of the playback item.

var serverAddress: String?

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

var numberOfServerAddressChanges: Int

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

var mediaRequestsWWAN: Int

Number of network read requests over WWAN.

var transferDuration: TimeInterval

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

var numberOfBytesTransferred: Int64

The accumulated number of bytes transferred by the item.

var numberOfMediaRequests: Int

A count of media read requests from the server to this client.

Getting Playback Related Log Events

var playbackStartDate: Date?

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

var playbackSessionID: String?

A GUID that identifies the playback session.

var playbackStartOffset: TimeInterval

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

var playbackType: String?

The playback type: live, VOD, or from a file.

var startupTime: TimeInterval

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

var durationWatched: TimeInterval

The accumulated duration of the media played, in seconds.

var numberOfDroppedVideoFrames: Int

The total number of dropped video frames

var numberOfStalls: Int

The total number of playback stalls encountered.

var segmentsDownloadedDuration: TimeInterval

The accumulated duration of the media downloaded, in seconds.

var downloadOverdue: Int

The total number of times the download of the segments took too long.

Getting Bitrate Log Events

var observedBitrateStandardDeviation: Double

Standard deviation of observed segment download bit rates.

var observedMaxBitrate: Double

Maximum observed segment download bit rate.

var observedMinBitrate: Double

Minimum observed segment download bit rate.

var switchBitrate: Double

Bandwidth that caused a switch (up or down).

var indicatedBitrate: Double

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

var observedBitrate: Double

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

var averageAudioBitrate: Double

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

var averageVideoBitrate: Double

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

var indicatedAverageBitrate: Double

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

Relationships

Inherits From