Calculations
Derived values computed from the Foundations: rates, averages, aggregations, and quality estimates like MOS.
Calculations are the derived values rtcStats computes on top of the Foundations: rates, averages, aggregations, and quality estimates like MOS. Like Chrome's webrtc-internals, we've taken the approach of generating simple math on some of the raw metrics.
This includes for example calculating the number of packets sent per second on a peer connection's candidate pair (candidate-pair.packetsSent/s) from the metric of candidate-pair.packetsSent.
We do these types of calculations as they make it easier to review and analyze a scenario from the WebRTC metrics.
Calculations and aggregations
This layer covers two closely related kinds of derived value:
- Calculations turn a raw metric into a more useful one: a rate (per second), a percentage (packet loss), or an average (round-trip time).
- Aggregations roll the time series of a metric up into a single representative value across a session or a connection: an average, a minimum, or a maximum.
Both belong to one family here. rtcStats offers the richness of calculations conducted by Chrome, as well as a few additional calculations and aggregations we found relevant and useful. In this category, you will find for example the MOS score calculation, a quality estimate derived from the underlying media metrics.
To browse every derived metric, check out our WebRTC Metrics section in the knowledge base and simply filter for Calculations in the left-hand sidebar.
Was this page helpful?