在会话期间获取播放器比特率平均值。

Get the player bitrate mean value, during a session.

根据http://blog.spooningfork.com/post/44787139787/http-live-streaming-ios-avplayer,observedBitrate 是播放器看到的比特率。 但是它是瞬时值还是平均值?

文档说:"The empirical throughput across all media downloaded, in bits per second."

我不太明白这个解释...

文档会表明它是平均值。

我把所有媒体下载的吞吐量的意思理解为它是对值的平均。如果是瞬时比特率,他们可能会将 属性 currentBitrate.

命名为

然而,对我来说,提供片段比特率的标准推导没有多大意义,而不是片段的平均比特率,因此 observedBitrate 可能是片段的平均比特率段和文档可能是错误的。

将值 numberOfBytesTransferred / transferDurationobservedBitrate 进行比较可能有助于您弄清问题的根源。