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

Unified Diff: webrtc/api/rtcstatscollector.cc

Issue 2558293002: RTCIceCandidatePairStats.consentRequestsSent set by RTCStatsCollector. (Closed)
Patch Set: Created 4 years 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 | « webrtc/api/rtcstats_integrationtest.cc ('k') | webrtc/api/rtcstatscollector_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/rtcstatscollector.cc
diff --git a/webrtc/api/rtcstatscollector.cc b/webrtc/api/rtcstatscollector.cc
index ec7cbe0bb3ecd646de5f69e7ab2ff8aa608dd7a6..03d056099603aee5a79dbe47e3e0b4d40379cb5b 100644
--- a/webrtc/api/rtcstatscollector.cc
+++ b/webrtc/api/rtcstatscollector.cc
@@ -640,6 +640,8 @@ void RTCStatsCollector::ProduceIceCandidateAndPairStats_s(
static_cast<uint64_t>(info.recv_ping_responses);
candidate_pair_stats->responses_sent =
static_cast<uint64_t>(info.sent_ping_responses);
+ candidate_pair_stats->consent_requests_sent = static_cast<uint64_t>(
+ info.sent_ping_requests_before_first_response);
hbos 2016/12/08 15:05:05 This is the same value that is used by the old get
Taylor Brandstetter 2016/12/08 22:01:30 I think the old implementation is incorrect. If an
hta-webrtc 2016/12/09 09:58:25 Agreed. The defs in http://rawgit.com/w3c/webrtc-s
report->AddStats(std::move(candidate_pair_stats));
}
« no previous file with comments | « webrtc/api/rtcstats_integrationtest.cc ('k') | webrtc/api/rtcstatscollector_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698