Index: webrtc/modules/congestion_controller/include/congestion_controller.h |
diff --git a/webrtc/modules/congestion_controller/include/congestion_controller.h b/webrtc/modules/congestion_controller/include/congestion_controller.h |
index 48b9531260ffce8af2152cec439db4bfaa74a6e7..f10fb6e540f55533922acf310a745eb71bd0fd05 100644 |
--- a/webrtc/modules/congestion_controller/include/congestion_controller.h |
+++ b/webrtc/modules/congestion_controller/include/congestion_controller.h |
@@ -19,8 +19,9 @@ |
#include "webrtc/modules/congestion_controller/transport_feedback_adapter.h" |
#include "webrtc/modules/include/module.h" |
#include "webrtc/modules/include/module_common_types.h" |
-#include "webrtc/modules/pacing/packet_router.h" |
+#include "webrtc/modules/pacing/bitrate_prober.h" |
#include "webrtc/modules/pacing/paced_sender.h" |
+#include "webrtc/modules/pacing/packet_router.h" |
#include "webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.h" |
namespace rtc { |
@@ -38,7 +39,9 @@ class RemoteBitrateObserver; |
class RtcEventLog; |
class TransportFeedbackObserver; |
-class CongestionController : public CallStatsObserver, public Module { |
+class CongestionController : public CallStatsObserver, |
+ public Module, |
+ public ProbeClusterCreatedObserver { |
public: |
// Observer class for bitrate changes announced due to change in bandwidth |
// estimate or due to that the send pacer is full. Fraction loss and rtt is |
@@ -114,6 +117,11 @@ class CongestionController : public CallStatsObserver, public Module { |
int64_t TimeUntilNextProcess() override; |
void Process() override; |
+ // Implements ProbeClusterCreatedObserver. |
+ void OnProbingClusterCreated(int cluster_id, |
+ int min_bytes, |
+ int min_probes) override; |
+ |
private: |
void MaybeTriggerOnNetworkChanged(); |