PlaybackStats
The structure contains current playback session metrics. The values are reset each time a new stream is loaded.
Properties
averageAudioBitrate?
optionalaverageAudioBitrate:number
The audio track’s average bit rate, in bits per second.
Remarks
Available on iOS/tvOS.
averageVideoBitrate?
optionalaverageVideoBitrate:number
The video track’s average bit rate, in bits per second.
Remarks
Available on iOS/tvOS.
droppedFrames
droppedFrames:
number
The total number of frames dropped by the player.
durationWatchedSec?
optionaldurationWatchedSec:number
The accumulated duration, in seconds, of the media played.
Remarks
Available on iOS/tvOS.
estimatedBandwidth?
optionalestimatedBandwidth:number
The current estimated network bandwidth, in bits per second.
indicatedAverageBitrate?
optionalindicatedAverageBitrate:number
The average throughput, in bits per second, required to play the stream, as advertised by the server.
Remarks
Available on iOS/tvOS.
indicatedBitrate?
optionalindicatedBitrate:number
The throughput, in bits per second, required to play the stream, as advertised by the server.
Remarks
Available on iOS/tvOS.
numberOfBytesTransferred?
optionalnumberOfBytesTransferred:number
The accumulated number of bytes transferred over the network.
Remarks
Available on iOS/tvOS.
numberOfMediaRequests?
optionalnumberOfMediaRequests:number
The number of media read requests from the server to this client.
Remarks
Available on iOS/tvOS.
numberOfStalls?
optionalnumberOfStalls:number
The total number of playback stalls encountered.
Remarks
Available on iOS/tvOS.
observedBitrate?
optionalobservedBitrate:number
The empirical throughput, in bits per second, across all media downloaded.
Remarks
Available on iOS/tvOS.
observedBitrateStandardDeviation?
optionalobservedBitrateStandardDeviation:number
The standard deviation of the observed segment download bit rates.
Remarks
Available on iOS/tvOS.
playbackStartTimestamp?
optionalplaybackStartTimestamp:number
The Unix Epoch time, in milliseconds, at which playback began.
Remarks
Available on iOS/tvOS.
segmentsDownloadedDurationSec?
optionalsegmentsDownloadedDurationSec:number
The accumulated duration, in seconds, of the media segments downloaded.
Remarks
Available on iOS/tvOS.
startupTimeSec?
optionalstartupTimeSec:number
The accumulated duration, in seconds, until the player item is ready to play.
Remarks
Available on iOS/tvOS.
streamBandwidth?
optionalstreamBandwidth:number
The total bandwidth required for the current streams, in bits per second.
transferDurationSec?
optionaltransferDurationSec:number
The accumulated duration, in seconds, of active network transfer of bytes.
Remarks
Available on iOS/tvOS.