Index: webrtc/p2p/stunprober/stunprober.h |
diff --git a/webrtc/p2p/stunprober/stunprober.h b/webrtc/p2p/stunprober/stunprober.h |
index 9d2ad222e56590a97be9d2f5bc015960c0695cfb..b725cbef0a66a3e2e1731c610555964412d148fa 100644 |
--- a/webrtc/p2p/stunprober/stunprober.h |
+++ b/webrtc/p2p/stunprober/stunprober.h |
@@ -71,7 +71,14 @@ class StunProber : public sigslot::has_slots<> { |
struct Stats { |
Stats() {} |
+ // |raw_num_request_sent| is the total number of requests |
+ // sent. |num_request_sent| is the count of requests against a server where |
+ // we see at least one response. |num_request_sent| is designed to protect |
+ // against DNS resolution failure or the STUN server is not responsive |
+ // which could skew the result. |
+ int raw_num_request_sent = 0; |
int num_request_sent = 0; |
+ |
int num_response_received = 0; |
NatType nat_type = NATTYPE_INVALID; |
int average_rtt_ms = -1; |