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

Unified Diff: webrtc/modules/remote_bitrate_estimator/remote_rate_control.cc

Issue 1208083002: Remove MimdRateControl and factories for RemoteBitrateEstimor. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Addressed comments Created 5 years, 5 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/remote_bitrate_estimator/remote_rate_control.cc
diff --git a/webrtc/modules/remote_bitrate_estimator/remote_rate_control.cc b/webrtc/modules/remote_bitrate_estimator/remote_rate_control.cc
deleted file mode 100644
index 763a5751d76c408b9f6e6f3d41ebc57a3c0839a7..0000000000000000000000000000000000000000
--- a/webrtc/modules/remote_bitrate_estimator/remote_rate_control.cc
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
- *
- * Use of this source code is governed by a BSD-style license
- * that can be found in the LICENSE file in the root of the source
- * tree. An additional intellectual property rights grant can be found
- * in the file PATENTS. All contributing project authors may
- * be found in the AUTHORS file in the root of the source tree.
- */
-
-#include "webrtc/modules/remote_bitrate_estimator/remote_rate_control.h"
-
-#include "webrtc/modules/remote_bitrate_estimator/aimd_rate_control.h"
-#include "webrtc/modules/remote_bitrate_estimator/mimd_rate_control.h"
-
-namespace webrtc {
-
-// static
-const int64_t RemoteRateControl::kMaxFeedbackIntervalMs = 1000;
-
-RemoteRateControl* RemoteRateControl::Create(RateControlType control_type,
- uint32_t min_bitrate_bps) {
- if (control_type == kAimdControl) {
- return new AimdRateControl(min_bitrate_bps);
- } else {
- return new MimdRateControl(min_bitrate_bps);
- }
-}
-
-} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698