Sender-side packetsReceived is unsigned, yet is a result of a subtraction of two RR values that could be garbage:
Having stats reflect garbage input seems helpful for debugging, but it's unspecified what value user agents should report if the result of the subtraction is negative. Changing it to signed seems simplest, and would match packetsLost.
This came up in bug 1853717 which (ended up being a bug in Firefox instead but) raised how to handle garbage RRs from a server.
Sender-side packetsReceived is unsigned, yet is a result of a subtraction of two RR values that could be garbage:
Having stats reflect garbage input seems helpful for debugging, but it's unspecified what value user agents should report if the result of the subtraction is negative. Changing it to signed seems simplest, and would match
packetsLost
.This came up in bug 1853717 which (ended up being a bug in Firefox instead but) raised how to handle garbage RRs from a server.