Chromium Code Reviews| Index: webrtc/modules/congestion_controller/congestion_controller.cc |
| diff --git a/webrtc/modules/congestion_controller/congestion_controller.cc b/webrtc/modules/congestion_controller/congestion_controller.cc |
| index 5767448a5f7bf711a24ef214ea47d5f5cac18f20..721276131dee34216cd705b2d11b8a01966418b9 100644 |
| --- a/webrtc/modules/congestion_controller/congestion_controller.cc |
| +++ b/webrtc/modules/congestion_controller/congestion_controller.cc |
| @@ -20,8 +20,8 @@ |
| #include "webrtc/base/socket.h" |
| #include "webrtc/base/thread_annotations.h" |
| #include "webrtc/modules/bitrate_controller/include/bitrate_controller.h" |
| +#include "webrtc/modules/congestion_controller/delay_based_bitrate_probing.h" |
|
stefan-webrtc
2016/06/03 13:46:23
I'd prefer if we didn't have probing in the name.
philipel
2016/06/03 14:54:55
Renamed files to delay_based_bitrate_probing.h/cc
|
| #include "webrtc/modules/remote_bitrate_estimator/include/send_time_history.h" |
| -#include "webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_abs_send_time.h" |
| #include "webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_single_stream.h" |
| #include "webrtc/modules/utility/include/process_thread.h" |
| #include "webrtc/system_wrappers/include/critical_section_wrapper.h" |
| @@ -115,7 +115,7 @@ class WrappingBitrateEstimator : public RemoteBitrateEstimator { |
| // Instantiate RBE for Time Offset or Absolute Send Time extensions. |
| void PickEstimator() EXCLUSIVE_LOCKS_REQUIRED(crit_sect_.get()) { |
| if (using_absolute_send_time_) { |
| - rbe_.reset(new RemoteBitrateEstimatorAbsSendTime(observer_)); |
| + rbe_.reset(new DelayBasedProbingEstimator(observer_)); |
| } else { |
| rbe_.reset(new RemoteBitrateEstimatorSingleStream(observer_, clock_)); |
| } |
| @@ -207,7 +207,7 @@ CongestionController::~CongestionController() {} |
| void CongestionController::Init() { |
| transport_feedback_adapter_.SetBitrateEstimator( |
| - new RemoteBitrateEstimatorAbsSendTime(&transport_feedback_adapter_)); |
| + new DelayBasedProbingEstimator(&transport_feedback_adapter_)); |
| transport_feedback_adapter_.GetBitrateEstimator()->SetMinBitrate( |
| min_bitrate_bps_); |
| } |