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

Unified Diff: webrtc/api/statstypes.cc

Issue 1940493002: Add Stats to Stun ping. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 8 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/api/statstypes.cc
diff --git a/webrtc/api/statstypes.cc b/webrtc/api/statstypes.cc
index 61af82467a7595b2ff255726bd2d53a334839fa5..4ab713481788201f840f04de130af0d95e34b7ba 100644
--- a/webrtc/api/statstypes.cc
+++ b/webrtc/api/statstypes.cc
@@ -414,6 +414,11 @@ const char* StatsReport::Value::display_name() const {
return "googBucketDelay";
case kStatsValueNameBandwidthLimitedResolution:
return "googBandwidthLimitedResolution";
+ // STUN ping related attributes.
+ case kStatsValueNameSentPingRequests:
+ return "consentRequestsSent";
+ case kStatsValueNameRecvPingResponses:
+ return "consentResponsesReceived";
pthatcher1 2016/05/05 23:30:57 Can we also add consentRequestsReceived and consen
// Candidate related attributes. Values are taken from
// http://w3c.github.io/webrtc-stats/#rtcstatstype-enum*.

Powered by Google App Engine
This is Rietveld 408576698