Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(282)

Unified Diff: webrtc/p2p/stunprober/stunprober.h

Issue 1406223011: Relax the stun ping check on valid result (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: fix a comment. Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/p2p/stunprober/stunprober.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | webrtc/p2p/stunprober/stunprober.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698