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

Unified Diff: webrtc/p2p/base/port.h

Issue 1944003002: Increase the stun ping interval. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Modified TestInitialPingInterval. Created 4 years, 6 months 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
Index: webrtc/p2p/base/port.h
diff --git a/webrtc/p2p/base/port.h b/webrtc/p2p/base/port.h
index 06efd2d3c235c4e976fda6f610c187741ac7542f..35fd6fd58fa3eda8010ae643515b7134f954269b 100644
--- a/webrtc/p2p/base/port.h
+++ b/webrtc/p2p/base/port.h
@@ -585,6 +585,10 @@ class Connection : public CandidatePairInterface,
// response in milliseconds
int64_t last_received() const;
+ std::vector<SentPing> pings_since_last_response() const {
+ return pings_since_last_response_;
+ }
pthatcher1 2016/06/14 00:44:28 We don't need this if we do the thing below.
+
protected:
enum { MSG_DELETE = 0, MSG_FIRST_AVAILABLE };

Powered by Google App Engine
This is Rietveld 408576698