I was wondering if someone could clarify the precise meaning of the following AVPlayer metrics. I have read the corresponding Apple Developer Documentation for these metrics, but I find the descriptions provided to be quite vague. I have attached the corresponding URLs to the documentation for each of these metrics, for reference.
- downloadOverdue: the documentation states that this is the “total number of times that downloading the segments took too long.” What does “took too long” mean exactly? Is there a certain threshold for what “took too long” means? My best guess is that it means that the observed download speed of the segments is less than the minimum bitrate required for playback (indicatedBitrate), but I’m not 100% sure.
- averageVideoBitrate: the documentation states that this is the “video track’s average bit rate, in bits per second.” Is this the minimum bitrate value required for playing the video, that you can find in a manifest?
- transferDuration: the documentation states that this is the “accumulated duration, in seconds, of active network transfer of bytes.” Does this refer to how long it takes to send and receive both the HTTP request and response, for each media segment?
- observedBitrate: the documentation states that this is the “empirical throughput, in bits per second, across all media downloaded.” My understanding is that this is the download speed, in bits/second, of recent media segments (video, audio, and text). Is my understanding correct? If so, is there a threshold for how recent? At what point are downloaded media segments no longer considered to be “recent”?
- observedBitrateStandardDeviation: my understanding is that this is just the standard deviation of observedBitrate values. But is this the standard deviation of all observedBitrate values in the current playback session? Or do we only count recent observedBitrate values? Similar to my question for 4, at what point are observedBitrate values no longer considered to be “recent”?
- segmentsDownloadedDuration: the documentation states that this is the “accumulated duration, in seconds, of the media segments downloaded.” Is this the accumulated duration of both video and audio segments? Or just video?
Thank you very much!
I have tried reading the Apple Developer Documentation, however, I found it to be quite vague in some of its descriptions.
user25195648 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.