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

Unified Diff: webrtc/modules/congestion_controller/probe_bitrate_estimator.h

Issue 2785433002: Log probe results to RtcEventLog. (Closed)
Patch Set: . Created 3 years, 9 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/modules/congestion_controller/probe_bitrate_estimator.h
diff --git a/webrtc/modules/congestion_controller/probe_bitrate_estimator.h b/webrtc/modules/congestion_controller/probe_bitrate_estimator.h
index 66413400923ed63f11a8490b141b98a29e20da92..247e905fd0b42140f25ca126250b4f7e0a44fe07 100644
--- a/webrtc/modules/congestion_controller/probe_bitrate_estimator.h
+++ b/webrtc/modules/congestion_controller/probe_bitrate_estimator.h
@@ -17,10 +17,11 @@
#include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h"
namespace webrtc {
+class RtcEventLog;
class ProbeBitrateEstimator {
public:
- ProbeBitrateEstimator();
+ explicit ProbeBitrateEstimator(RtcEventLog* event_log);
// Should be called for every probe packet we receive feedback about.
// Returns the estimated bitrate if the probe completes a valid cluster.
@@ -42,6 +43,7 @@ class ProbeBitrateEstimator {
void EraseOldClusters(int64_t timestamp_ms);
std::map<int, AggregatedCluster> clusters_;
+ RtcEventLog* const event_log_;
};
} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698