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

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

Issue 2695923004: Add logging of delay-based bandwidth estimate. (Closed)
Patch Set: Created 3 years, 10 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/delay_based_bwe.h
diff --git a/webrtc/modules/congestion_controller/delay_based_bwe.h b/webrtc/modules/congestion_controller/delay_based_bwe.h
index d1a9676d59d43a2c4f1f8b8818e4362b4453e1bf..67529dcc3d883bd11ad3b60a2bb741f4ef43be82 100644
--- a/webrtc/modules/congestion_controller/delay_based_bwe.h
+++ b/webrtc/modules/congestion_controller/delay_based_bwe.h
@@ -31,6 +31,8 @@
namespace webrtc {
+class RtcEventLog;
+
class DelayBasedBwe {
public:
static const int64_t kStreamTimeOutMs = 2000;
@@ -44,7 +46,7 @@ class DelayBasedBwe {
uint32_t target_bitrate_bps;
};
- explicit DelayBasedBwe(Clock* clock);
+ DelayBasedBwe(RtcEventLog* event_log, Clock* clock);
virtual ~DelayBasedBwe() {}
Result IncomingPacketFeedbackVector(
@@ -91,6 +93,7 @@ class DelayBasedBwe {
const bool in_median_slope_experiment_;
rtc::ThreadChecker network_thread_;
+ RtcEventLog* event_log_;
stefan-webrtc 2017/02/14 18:13:20 const
terelius 2017/02/15 12:49:24 Done.
Clock* const clock_;
std::unique_ptr<InterArrival> inter_arrival_;
std::unique_ptr<OveruseEstimator> kalman_estimator_;

Powered by Google App Engine
This is Rietveld 408576698