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

Side by Side 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: Updated thresholds for TestTimestampGrouping Created 5 years, 6 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 unified diff | Download patch
OLDNEW
(Empty)
1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11 #include "webrtc/modules/remote_bitrate_estimator/remote_rate_control.h"
12
13 #include "webrtc/modules/remote_bitrate_estimator/aimd_rate_control.h"
14 #include "webrtc/modules/remote_bitrate_estimator/mimd_rate_control.h"
15
16 namespace webrtc {
17
18 // static
19 const int64_t RemoteRateControl::kMaxFeedbackIntervalMs = 1000;
20
21 RemoteRateControl* RemoteRateControl::Create(RateControlType control_type,
22 uint32_t min_bitrate_bps) {
23 if (control_type == kAimdControl) {
24 return new AimdRateControl(min_bitrate_bps);
25 } else {
26 return new MimdRateControl(min_bitrate_bps);
27 }
28 }
29
30 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698