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
-
numberOfSegmentsDownloadedproperty -
numberOfMediaRequestsproperty -
playbackStartDateproperty -
URIproperty -
serverAddressproperty -
numberOfServerAddressChangesproperty -
playbackSessionIDproperty -
playbackStartOffsetproperty -
segmentsDownloadedDurationproperty -
durationWatchedproperty -
numberOfStallsproperty -
numberOfBytesTransferredproperty -
indicatedBitrateproperty -
observedBitrateproperty -
numberOfDroppedVideoFramesproperty
Properties
durationWatched
The accumulated duration of the media played, in seconds. (read-only)
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.hindicatedBitrate
The throughput required to play the stream, as advertised by the server, in bits per second. (read-only)
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.hnumberOfBytesTransferred
The accumulated number of bytes transferred by the item. (read-only)
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.hnumberOfDroppedVideoFrames
The total number of dropped video frames (read-only)
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.hnumberOfMediaRequests
A count of media read requests from the server to this client. (read-only)
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.hnumberOfSegmentsDownloaded
A count of the media segments downloaded from the server to this client. (read-only)
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.hnumberOfServerAddressChanges
A count of changes to the server address over the last uninterrupted period of playback. (read-only)
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.
See Also
Declared In
AVPlayerItem.hnumberOfStalls
The total number of playback stalls encountered. (read-only)
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.hobservedBitrate
The empirical throughput across all media downloaded, in bits per second. (read-only)
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.hplaybackSessionID
A GUID that identifies the playback session. (read-only)
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.hplaybackStartDate
The date and time at which playback began for this event. (read-only)
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.hplaybackStartOffset
An offset into the playlist where the last uninterrupted period of playback began, in seconds (read-only)
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.hsegmentsDownloadedDuration
The accumulated duration of the media downloaded, in seconds. (read-only)
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.hserverAddress
The IP address of the server that was the source of the last delivered media segment. (read-only)
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.hURI
The URI of the playback item (read-only)
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© 2012 Apple Inc. All Rights Reserved. (Last updated: 2012-09-19)