Implement missing candidate pair packets/bytes sent/received stats.
Specifically: * packetsSent * packetsReceived * packetsDiscardedOnSend * bytesDiscardedOnSend Bug: webrtc:10569 Change-Id: Id92c20b93dea57637239a6321bd8aa644867f272 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/232961 Commit-Queue: Taylor Brandstetter <deadbeef@webrtc.org> Reviewed-by: Jonas Oreland <jonaso@webrtc.org> Reviewed-by: Henrik Boström <hbos@webrtc.org> Cr-Commit-Position: refs/heads/main@{#35113}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
cc4deae951
commit
79326eaca7
@ -170,6 +170,8 @@ class RTC_EXPORT RTCIceCandidatePairStats final : public RTCStats {
|
||||
RTCStatsMember<bool> writable;
|
||||
// TODO(hbos): Collect and populate this value. https://bugs.webrtc.org/7062
|
||||
RTCStatsMember<bool> readable;
|
||||
RTCStatsMember<uint64_t> packets_sent;
|
||||
RTCStatsMember<uint64_t> packets_received;
|
||||
RTCStatsMember<uint64_t> bytes_sent;
|
||||
RTCStatsMember<uint64_t> bytes_received;
|
||||
RTCStatsMember<double> total_round_trip_time;
|
||||
@ -194,6 +196,8 @@ class RTC_EXPORT RTCIceCandidatePairStats final : public RTCStats {
|
||||
RTCStatsMember<uint64_t> consent_responses_received;
|
||||
// TODO(hbos): Collect and populate this value. https://bugs.webrtc.org/7062
|
||||
RTCStatsMember<uint64_t> consent_responses_sent;
|
||||
RTCStatsMember<uint64_t> packets_discarded_on_send;
|
||||
RTCStatsMember<uint64_t> bytes_discarded_on_send;
|
||||
};
|
||||
|
||||
// https://w3c.github.io/webrtc-stats/#icecandidate-dict*
|
||||
|
||||
Reference in New Issue
Block a user