PTPlaybackInformation Class Reference
| Inherits from | NSObject |
| Declared in | PTPlaybackInformation.h |
Tasks
numberOfSegmentsDownloaded
-
numberOfSegmentsDownloadedA count of media segments downloaded.
property
numberOfMediaRequests
-
numberOfMediaRequestsA count of media read requests.
property
playbackStartDate
-
playbackStartDateThe date/time at which playback began for this event. Can be nil.
property
URI
-
URIThe URI of the playback item. Can be nil.
property
serverAddress
-
serverAddressThe IP address of the server that was the source of the last delivered media segment. Can be nil.
property
numberOfServerAddressChanges
-
numberOfServerAddressChangesA count of changes to the property serverAddress, see above, over the last uninterrupted period of playback.
property
playbackSessionID
-
playbackSessionIDA GUID that identifies the playback session. This value is used in HTTP requests. Can be nil.
property
playbackStartOffset
-
playbackStartOffsetAn offset into the playlist where the last uninterrupted period of playback began. Measured in seconds.
property
segmentsDownloadedDuration
-
segmentsDownloadedDurationThe accumulated duration of the media downloaded. Measured in seconds.
property
durationWatched
-
durationWatchedThe accumulated duration of the media played. Measured in seconds.
property
numberOfStalls
-
numberOfStallsThe total number of playback stalls encountered.
property
numberOfBytesTransferred
-
numberOfBytesTransferredThe accumulated number of bytes transferred.
property
observedBitrate
-
observedBitrateThe empirical throughput across all media downloaded. Measured in bits per second.
property
indicatedBitrate
-
indicatedBitrateThe throughput required to play the stream, as advertised by the server. Measured in bits per second.
property
numberOfDroppedVideoFrames
-
numberOfDroppedVideoFramesThe total number of dropped video frames.
property
timeToLoad
-
timeToLoadThe time taken to load the media
property
timeToStart
-
timeToStartThe time taken to start the media playback
property
timeToFail
-
timeToFailThe time taken to fail for media playback
property
totalBufferingTime
-
totalBufferingTimeTotal time spent in buffering state during playback.
property
secondsSpent
-
secondsSpentTotal time PTMediaPlayer was in use before it was stopped.
property
emptyBufferCount
-
emptyBufferCountThe number of playbackBufferEmpty events occurred during playback.
property
playbackBufferEmpty
-
playbackBufferEmptyIndicates whether playback has consumed all buffered media and that playback will stall or end.
property
playbackBufferFull
-
playbackBufferFullIndicates whether the internal media buffer is full and that further I/O is suspended.
property
playbackLikelyToKeepUp
-
playbackLikelyToKeepUpIndicates whether the item will likely play through without stalling.
property
Internal construction
-
– initWithPlaybackMetrics:Prepares a movie for playback.
Properties
URI
The URI of the playback item. Can be nil.
@property (nonatomic, retain, readonly) NSString *URIDiscussion
The URI of the playback item. Can be nil.
If nil is returned the URI is unknown. Corresponds to “uri”.
Declared In
PTPlaybackInformation.hdurationWatched
The accumulated duration of the media played. Measured in seconds.
@property (nonatomic, assign, readonly) NSTimeInterval durationWatchedDiscussion
The accumulated duration of the media played. Measured in seconds.
Value is negative if unknown. Corresponds to “c-duration-watched”.
Declared In
PTPlaybackInformation.hemptyBufferCount
The number of playbackBufferEmpty events occurred during playback.
@property (nonatomic, assign, readonly) int emptyBufferCountDiscussion
The number of playbackBufferEmpty events occurred during playback.
Value is 0 if unknown.
Declared In
PTPlaybackInformation.hindicatedBitrate
The throughput required to play the stream, as advertised by the server. Measured in bits per second.
@property (nonatomic, assign, readonly) double indicatedBitrateDiscussion
The throughput required to play the stream, as advertised by the server. Measured in bits per second.
Value is negative if unknown. Corresponds to “sc-indicated-bitrate”.
Declared In
PTPlaybackInformation.hnumberOfBytesTransferred
The accumulated number of bytes transferred.
@property (nonatomic, assign, readonly) long long numberOfBytesTransferredDiscussion
The accumulated number of bytes transferred.
Value is negative if unknown. Corresponds to “bytes”.
Declared In
PTPlaybackInformation.hnumberOfDroppedVideoFrames
The total number of dropped video frames.
@property (nonatomic, assign, readonly) NSInteger numberOfDroppedVideoFramesDiscussion
The total number of dropped video frames.
Value is negative if unknown. Corresponds to “c-frames-dropped”.
Declared In
PTPlaybackInformation.hnumberOfMediaRequests
A count of media read requests.
@property (nonatomic, assign, readonly) NSInteger numberOfMediaRequestsDiscussion
A count of media read requests.
Value is negative if unknown. A count of media read requests from the server to this client. Corresponds to “sc-count”. For HTTP live Streaming, a count of media segments downloaded from the server to this client. For progressive-style HTTP media downloads, a count of HTTP GET (byte-range) requests for the resource. Availability: Available in iOS 6.0 and later. Returns -1 if unavailable.
Declared In
PTPlaybackInformation.hnumberOfSegmentsDownloaded
A count of media segments downloaded.
@property (nonatomic, assign, readonly) NSInteger numberOfSegmentsDownloadedDiscussion
A count of media segments downloaded.
Value is negative if unknown. A count of media segments downloaded from the server to this client. Corresponds to “sc-count”.
Declared In
PTPlaybackInformation.hnumberOfServerAddressChanges
A count of changes to the property serverAddress, see above, over the last uninterrupted period of playback.
@property (nonatomic, assign, readonly) NSInteger numberOfServerAddressChangesDiscussion
A count of changes to the property serverAddress, see above, over the last uninterrupted period of playback.
Value is negative if unknown. Corresponds to “s-ip-changes”.
Declared In
PTPlaybackInformation.hnumberOfStalls
The total number of playback stalls encountered.
@property (nonatomic, assign, readonly) NSInteger numberOfStallsDiscussion
The total number of playback stalls encountered.
Value is negative if unknown. Corresponds to “c-stalls”.
Declared In
PTPlaybackInformation.hobservedBitrate
The empirical throughput across all media downloaded. Measured in bits per second.
@property (nonatomic, assign, readonly) double observedBitrateDiscussion
The empirical throughput across all media downloaded. Measured in bits per second.
Value is negative if unknown. Corresponds to “c-observed-bitrate”.
Declared In
PTPlaybackInformation.hplaybackBufferEmpty
Indicates whether playback has consumed all buffered media and that playback will stall or end.
@property (nonatomic, assign, readonly) BOOL playbackBufferEmptyDiscussion
Indicates whether playback has consumed all buffered media and that playback will stall or end.
Declared In
PTPlaybackInformation.hplaybackBufferFull
Indicates whether the internal media buffer is full and that further I/O is suspended.
@property (nonatomic, assign, readonly) BOOL playbackBufferFullDiscussion
Indicates whether the internal media buffer is full and that further I/O is suspended.
Declared In
PTPlaybackInformation.hplaybackLikelyToKeepUp
Indicates whether the item will likely play through without stalling.
@property (nonatomic, assign, readonly) BOOL playbackLikelyToKeepUpDiscussion
Indicates whether the item will likely play through without stalling.
Declared In
PTPlaybackInformation.hplaybackSessionID
A GUID that identifies the playback session. This value is used in HTTP requests. Can be nil.
@property (nonatomic, retain, readonly) NSString *playbackSessionIDDiscussion
A GUID that identifies the playback session. This value is used in HTTP requests. Can be nil.
If nil is returned the GUID is unknown. Corresponds to “cs-guid”.
Declared In
PTPlaybackInformation.hplaybackStartDate
The date/time at which playback began for this event. Can be nil.
@property (nonatomic, retain, readonly) NSDate *playbackStartDateDiscussion
The date/time at which playback began for this event. Can be nil.
If nil is returned the date is unknown. Corresponds to “date”.
Declared In
PTPlaybackInformation.hplaybackStartOffset
An offset into the playlist where the last uninterrupted period of playback began. Measured in seconds.
@property (nonatomic, assign, readonly) NSTimeInterval playbackStartOffsetDiscussion
An offset into the playlist where the last uninterrupted period of playback began. Measured in seconds.
Value is negative if unknown. Corresponds to “c-start-time”.
Declared In
PTPlaybackInformation.hsecondsSpent
Total time PTMediaPlayer was in use before it was stopped.
@property (nonatomic, assign, readonly) NSTimeInterval secondsSpentDeclared In
PTPlaybackInformation.hsegmentsDownloadedDuration
The accumulated duration of the media downloaded. Measured in seconds.
@property (nonatomic, assign, readonly) NSTimeInterval segmentsDownloadedDurationDiscussion
The accumulated duration of the media downloaded. Measured in seconds.
Value is negative if unknown. Corresponds to “c-duration-downloaded”.
Declared In
PTPlaybackInformation.hserverAddress
The IP address of the server that was the source of the last delivered media segment. Can be nil.
@property (nonatomic, retain, readonly) NSString *serverAddressDiscussion
The IP address of the server that was the source of the last delivered media segment. Can be nil.
If nil is returned the address is unknown. Can be either an IPv4 or IPv6 address. Corresponds to “s-ip”.
Declared In
PTPlaybackInformation.htimeToFail
The time taken to fail for media playback
@property (nonatomic, assign, readonly) NSTimeInterval timeToFailDiscussion
The time taken to fail for media playback
Value is 0.0 if unknown.
Declared In
PTPlaybackInformation.htimeToLoad
The time taken to load the media
@property (nonatomic, assign, readonly) NSTimeInterval timeToLoadDiscussion
The time taken to load the media
Value is 0.0 if unknown.
Declared In
PTPlaybackInformation.h