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. None of the properties of this class are observable using key-value observing.

Tasks

Data Properties

Properties

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.

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.

Availability
  • Available in iOS 4.3 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.

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.

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.

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

numberOfSegmentsDownloaded

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

@property(nonatomic, readonly) NSInteger numberOfSegmentsDownloaded
Discussion

The property corresponds to “sc-count”.

The value of this property is negative if unknown.

Availability
  • Available in iOS 4.3 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.

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.

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.

Availability
  • Available in iOS 4.3 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.

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.

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

playbackStartOffset

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

@property(nonatomic, readonly) NSTimeInterval playbackStartOffset
Discussion

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

The value of this property is negative if unknown.

Availability
  • Available in iOS 4.3 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.

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.

Availability
  • Available in iOS 4.3 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 may be nil if the URI is unknown.

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

Did this document help you? Yes It's good, but... Not helpful...