[webrtc-stats] Add error correction metrics (#411)

henbos has just created a new issue for https://github.com/w3c/webrtc-stats:

== Add error correction metrics ==
Some packets contain contain payload for error correction, which may end up getting used or it may end up getting discarded. Having metrics for this indicate the health of the connection, and because error correction payloads may not result in as high quality as the "real" payloads, this is also good to help diagnose quality issues.

Proposals:
- errorCorrectionPacketsReceived: The total number of packets received that contain error correction payload. These are packets conveying information of previous packets, used to conceal packet loss. This is a subset of packetsReceived. To calculate the total number of error correction packets that was decoded, subtract errorCorrectionPacketsDiscarded from errorCorrectionPacketsReceived.
- errorCorrectionPacketsDiscarded: The total number of packets received that contain error correction payload, but the error correction payload was discarded due to having received the original packet. This is a subset of errorCorrectionPacketsReceived.

These may help replace Chrome's non-standard googSecondaryDecodedRate and googSecondaryDiscardedRate, unblocking products that rely on these for migrating to the standardised getStats.

Please view or discuss this issue at https://github.com/w3c/webrtc-stats/issues/411 using your GitHub account

Received on Monday, 18 March 2019 10:48:11 UTC