Re: [webrtc-stats] Add counters for bytes sent by ICE pings (#534) (#535)

Answers:
1) Does this include the headers or only the payload? We should be consistent across the dictionaries that the measurement of bytesSent and bytesReceived.

This payload for the ICE pings. I'm not sure about ip headers as such, but I assume they are not counted. (can check in rest of documentation about that)

2) RTCIceCandidatePairStats.bytesSent is said to only be payload bytes. Does ICE pings contain any payload?

No

3) How do you intend to use these counters? I'm wondering if the current implementation of candidate pair bytes sent is correct.

I modified an ICE agent to send more pings, I would like to be able to add up how much that "cost" and compare it to the actual payload sent. I'm currently not 100% certain to how they are counted wrt to the existing counters.

4) Do we know ICE candidate pair stats are supposed to be deleted?

Don't understand.

-- 
GitHub Notification of comment by jonasore
Please view or discuss this issue at https://github.com/w3c/webrtc-stats/pull/535#issuecomment-603838333 using your GitHub account

Received on Wednesday, 25 March 2020 13:27:01 UTC