W3C home > Mailing lists > Public > public-webrtc@w3.org > October 2016

[webrtc-stats] Describe the reason for "sum & count" rather than "average"

From: Harald Alvestrand via GitHub <sysbot+gh@w3.org>
Date: Wed, 12 Oct 2016 18:14:05 +0000
To: public-webrtc@w3.org
Message-ID: <issues.opened-182595362-1476296043-sysbot+gh@w3.org>
alvestrand has just created a new issue for 
https://github.com/w3c/webrtc-stats:

== Describe the reason for "sum & count" rather than "average" ==
In the design considerations, we should include explanations of why we
 use "sum & count" rather than "average" - the reason being that 
"average" implies averaging over some fixed time interval, which may 
or may not be what the app wants; sum & count allows us to do 
getStats() twice and calculate the average between them over an 
app-chosen time interval - which may be long or short.


Please view or discuss this issue at 
https://github.com/w3c/webrtc-stats/issues/69 using your GitHub 
account
Received on Wednesday, 12 October 2016 18:14:11 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:18:20 UTC