AVPlayerItemAccessLogEvent Class Reference

Inherits from
Conforms to
Framework
/System/Library/Frameworks/AVFoundation.framework
Availability
Available in iOS 4.3 and later.
Declared in
AVPlayerItem.h

Overview

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

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

Tasks

Getting Server Related Log Events

Getting Playback Related Log Events

Getting Bitrate Log Events

Properties

downloadOverdue

The total number of times the download of the segments took too long. (read-only)

@property(nonatomic, readonly) NSInteger downloadOverdue
Discussion

The value of the property is negative if unknown.

This property corresponds to “c-overdue”.

This property is not compatible with key-value observing.

Availability
  • Available in iOS 7.0 and later.
Declared In
AVPlayerItem.h

durationWatched

The accumulated duration of the media played, in seconds. (read-only)

@property(nonatomic, readonly) NSTimeInterval durationWatched
Discussion

The property corresponds to “c-duration-watched".

The value of this property is negative if unknown.

This property is not compatible with key-value observing.

Availability
  • Available in iOS 4.3 and later.
Declared In
AVPlayerItem.h

indicatedBitrate

The throughput required to play the stream, as advertised by the server, in bits per second. (read-only)

@property(nonatomic, readonly) double indicatedBitrate
Discussion

The property corresponds to “sc-indicated-bitrate".

The value of this property is negative if unknown.

This property is not compatible with key-value observing.

Availability
  • Available in iOS 4.3 and later.
Declared In
AVPlayerItem.h

mediaRequestsWWAN

Number of network read requests over WWAN. (read-only)

@property(nonatomic, readonly) NSInteger mediaRequestsWWAN
Discussion

The value of the property is negative if unknown.

Corresponds to “sc-wwan-count”.

This property is not compatible with key-value observing.

Availability
  • Available in iOS 7.0 and later.
Declared In
AVPlayerItem.h

numberOfBytesTransferred

The accumulated number of bytes transferred by the item. (read-only)

@property(nonatomic, readonly) long long numberOfBytesTransferred
Discussion

The property corresponds to “bytes".

The value of this property is negative if unknown.

This property is not compatible with key-value observing.

Availability
  • Available in iOS 4.3 and later.
Declared In
AVPlayerItem.h

numberOfDroppedVideoFrames

The total number of dropped video frames (read-only)

@property(nonatomic, readonly) NSInteger numberOfDroppedVideoFrames
Discussion

The property corresponds to “c-frames-dropped".

The value of this property is negative if unknown.

This property is not compatible with key-value observing.

Availability
  • Available in iOS 4.3 and later.
Declared In
AVPlayerItem.h

numberOfMediaRequests

A count of media read requests from the server to this client. (read-only)

@property(nonatomic, readonly) NSInteger numberOfMediaRequests
Discussion

For HTTP live streaming, this property contains the count of media requests downloaded from the server. For progressive-style HTTP media downloads, it contains a count of HTTP GET (byte-range) requests for the resource.

The property corresponds to “sc-count".

The value of this property is negative if unknown.

This property is not compatible with key-value observing.

Availability
  • Available in iOS 6.0 and later.
Declared In
AVPlayerItem.h

numberOfServerAddressChanges

A count of changes to the server address over the last uninterrupted period of playback. (read-only)

@property(nonatomic, readonly) NSInteger numberOfServerAddressChanges
Discussion

The property corresponds to “s-ip-changes".

The value of this property is negative if unknown.

This property is not compatible with key-value observing.

Availability
  • Available in iOS 4.3 and later.
Declared In
AVPlayerItem.h

numberOfStalls

The total number of playback stalls encountered. (read-only)

@property(nonatomic, readonly) NSInteger numberOfStalls
Discussion

The property corresponds to “c-stalls".

The value of this property is negative if unknown.

This property is not compatible with key-value observing.

Availability
  • Available in iOS 4.3 and later.
Declared In
AVPlayerItem.h

observedBitrate

The empirical throughput across all media downloaded, in bits per second. (read-only)

@property(nonatomic, readonly) double observedBitrate
Discussion

The property corresponds to “c-observed-bitrate".

The value of this property is negative if unknown.

This property is not compatible with key-value observing.

Availability
  • Available in iOS 4.3 and later.
Declared In
AVPlayerItem.h

observedBitrateStandardDeviation

Standard deviation of observed segment download bit rates. (read-only)

@property(nonatomic, readonly) double observedBitrateStandardDeviation
Discussion

The value of the property is negative if unknown.

Corresponds to “c-observed-bitrate-sd”.

This property is not compatible with key-value observing.

Availability
  • Available in iOS 7.0 and later.
Declared In
AVPlayerItem.h

observedMaxBitrate

Maximum observed segment download bit rate. (read-only)

@property(nonatomic, readonly) double observedMaxBitrate
Discussion

The value of the property is negative if unknown.

Corresponds to "c-observed-max-bitrate”.

This property is not compatible with key-value observing.

Availability
  • Available in iOS 7.0 and later.
Declared In
AVPlayerItem.h

observedMinBitrate

Minimum observed segment download bit rate. (read-only)

@property(nonatomic, readonly) double observedMinBitrate
Discussion

The value of the property is negative if unknown.

Corresponds to “c-observed-min-bitrate”.

This property is not compatible with key-value observing.

Availability
  • Available in iOS 7.0 and later.
Declared In
AVPlayerItem.h

playbackSessionID

A GUID that identifies the playback session. (read-only)

@property(nonatomic, readonly) NSString *playbackSessionID
Discussion

This value is used in HTTP requests.

The property corresponds to “cs-guid".

The value of this property is nil if unknown.

This property is not compatible with key-value observing.

Availability
  • Available in iOS 4.3 and later.
Declared In
AVPlayerItem.h

playbackStartDate

The date and time at which playback began for this event. (read-only)

@property(nonatomic, readonly) NSDate *playbackStartDate
Discussion

The property corresponds to “date".

The value of this property is nil if unknown.

This property is not compatible with key-value observing.

Availability
  • Available in iOS 4.3 and later.
Declared In
AVPlayerItem.h

playbackStartOffset

The offset, in seconds, in the playlist where the last uninterrupted period of playback began. (read-only)

@property(nonatomic, readonly) NSTimeInterval playbackStartOffset
Discussion

The property corresponds to “c-start-time".

The value of this property is negative if unknown.

This property is not compatible with key-value observing.

Availability
  • Available in iOS 4.3 and later.
Declared In
AVPlayerItem.h

playbackType

The playback type: live, VOD, or from a file. (read-only)

@property(nonatomic, readonly) NSString *playbackType
Discussion

If nil is returned the playback type is unknown.

Corresponds to “s-playback-type”.

This property is not compatible with key-value observing.

Availability
  • Available in iOS 7.0 and later.
Declared In
AVPlayerItem.h

segmentsDownloadedDuration

The accumulated duration of the media downloaded, in seconds. (read-only)

@property(nonatomic, readonly) NSTimeInterval segmentsDownloadedDuration
Discussion

The property corresponds to “-duration-downloaded".

The value of this property is negative if unknown.

This property is not compatible with key-value observing.

Availability
  • Available in iOS 4.3 and later.
Declared In
AVPlayerItem.h

serverAddress

The IP address of the server that was the source of the last delivered media segment. (read-only)

@property(nonatomic, readonly) NSString *serverAddress
Discussion

The property corresponds to “s-ip".

The value of this property is nil if unknown.

This property is not compatible with key-value observing.

Availability
  • Available in iOS 4.3 and later.
Declared In
AVPlayerItem.h

startupTime

The accumulated duration, in seconds, until player item is ready to play. (read-only)

@property(nonatomic, readonly) NSTimeInterval startupTime
Discussion

The value of the property is negative if unknown.

Corresponds to “c-startup-time”.

This property is not compatible with key-value observing.

Availability
  • Available in iOS 7.0 and later.
Declared In
AVPlayerItem.h

switchBitrate

Bandwidth that caused a switch (up or down). (read-only)

@property(nonatomic, readonly) double switchBitrate
Discussion

The value of the property is negative if unknown.

Corresponds to “c-switch-bitrate”.

This property is not compatible with key-value observing.

Availability
  • Available in iOS 7.0 and later.
Declared In
AVPlayerItem.h

transferDuration

The accumulated duration, in seconds, of active network transfer of bytes. (read-only)

@property(nonatomic, readonly) NSTimeInterval transferDuration
Discussion

The value of the property is negative if unknown.

Corresponds to “c-transfer-duration”.

This property is not compatible with key-value observing.

Availability
  • Available in iOS 7.0 and later.
Declared In
AVPlayerItem.h

URI

The URI of the playback item. (read-only)

@property(nonatomic, readonly) NSString *URI
Discussion

The property corresponds to “uri".

The value of this property is nil if the URI is unknown.

This property is not compatible with key-value observing.

Availability
  • Available in iOS 4.3 and later.
Declared In
AVPlayerItem.h