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 da8719d33a73a86c370a34fb2ac4f34658ecf58e..3ba2f95300fbbb95657604ab9f1a34c32b4258e8 100644 |
--- a/webrtc/modules/congestion_controller/include/congestion_controller.h |
+++ b/webrtc/modules/congestion_controller/include/congestion_controller.h |
@@ -70,6 +70,11 @@ class CongestionController : public CallStatsObserver, public Module { |
virtual void SetBweBitrates(int min_bitrate_bps, |
int start_bitrate_bps, |
int max_bitrate_bps); |
+ // Resets both the BWE state and the bitrate estimator. Note the first |
+ // argument is the bitrate_bps. |
+ virtual void ResetBweAndBitrates(int bitrate_bps, |
+ int min_bitrate_bps, |
+ int max_bitrate_bps); |
virtual void SignalNetworkState(NetworkState state); |
virtual BitrateController* GetBitrateController() const; |
virtual RemoteBitrateEstimator* GetRemoteBitrateEstimator( |