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

Side by Side Diff: webrtc/modules/bitrate_controller/send_side_bandwidth_estimation.cc

Issue 1484503002: Use webrtc/base/logging.h in stefan@'s ownership. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: improved logging + ignore packet in abssendtime Created 5 years 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
« no previous file with comments | « webrtc/call/congestion_controller.cc ('k') | webrtc/modules/pacing/bitrate_prober.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 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 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 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #include "webrtc/modules/bitrate_controller/send_side_bandwidth_estimation.h" 11 #include "webrtc/modules/bitrate_controller/send_side_bandwidth_estimation.h"
12 12
13 #include <cmath> 13 #include <cmath>
14 14
15 #include "webrtc/base/checks.h" 15 #include "webrtc/base/checks.h"
16 #include "webrtc/base/logging.h"
16 #include "webrtc/system_wrappers/include/field_trial.h" 17 #include "webrtc/system_wrappers/include/field_trial.h"
17 #include "webrtc/system_wrappers/include/logging.h"
18 #include "webrtc/system_wrappers/include/metrics.h" 18 #include "webrtc/system_wrappers/include/metrics.h"
19 #include "webrtc/call/rtc_event_log.h" 19 #include "webrtc/call/rtc_event_log.h"
20 20
21 namespace webrtc { 21 namespace webrtc {
22 namespace { 22 namespace {
23 const int64_t kBweIncreaseIntervalMs = 1000; 23 const int64_t kBweIncreaseIntervalMs = 1000;
24 const int64_t kBweDecreaseIntervalMs = 300; 24 const int64_t kBweDecreaseIntervalMs = 300;
25 const int64_t kStartPhaseMs = 2000; 25 const int64_t kStartPhaseMs = 2000;
26 const int64_t kBweConverganceTimeMs = 20000; 26 const int64_t kBweConverganceTimeMs = 20000;
27 const int kLimitNumPackets = 20; 27 const int kLimitNumPackets = 20;
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 bitrate = min_bitrate_configured_; 285 bitrate = min_bitrate_configured_;
286 } 286 }
287 return bitrate; 287 return bitrate;
288 } 288 }
289 289
290 void SendSideBandwidthEstimation::SetEventLog(RtcEventLog* event_log) { 290 void SendSideBandwidthEstimation::SetEventLog(RtcEventLog* event_log) {
291 event_log_ = event_log; 291 event_log_ = event_log;
292 } 292 }
293 293
294 } // namespace webrtc 294 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/call/congestion_controller.cc ('k') | webrtc/modules/pacing/bitrate_prober.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698