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

Side by Side Diff: webrtc/modules/congestion_controller/delay_based_bwe.h

Issue 2404253004: Rename variables to reflect that DelayBasedBwe lives on the send side rather than receive side. (Closed)
Patch Set: Created 4 years, 2 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
1 /* 1 /*
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2016 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
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 // estimate exists. 58 // estimate exists.
59 bool UpdateEstimate(int64_t packet_arrival_time_ms, 59 bool UpdateEstimate(int64_t packet_arrival_time_ms,
60 int64_t now_ms, 60 int64_t now_ms,
61 uint32_t* target_bitrate_bps); 61 uint32_t* target_bitrate_bps);
62 62
63 rtc::ThreadChecker network_thread_; 63 rtc::ThreadChecker network_thread_;
64 Clock* const clock_; 64 Clock* const clock_;
65 std::unique_ptr<InterArrival> inter_arrival_; 65 std::unique_ptr<InterArrival> inter_arrival_;
66 std::unique_ptr<OveruseEstimator> estimator_; 66 std::unique_ptr<OveruseEstimator> estimator_;
67 OveruseDetector detector_; 67 OveruseDetector detector_;
68 RateStatistics incoming_bitrate_; 68 RateStatistics receiver_incoming_bitrate_;
69 int64_t last_update_ms_; 69 int64_t last_update_ms_;
70 int64_t last_seen_packet_ms_; 70 int64_t last_seen_packet_ms_;
71 bool uma_recorded_; 71 bool uma_recorded_;
72 AimdRateControl remote_rate_; 72 AimdRateControl rate_control_;
73 ProbeBitrateEstimator probe_bitrate_estimator_; 73 ProbeBitrateEstimator probe_bitrate_estimator_;
74 74
75 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(DelayBasedBwe); 75 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(DelayBasedBwe);
76 }; 76 };
77 77
78 } // namespace webrtc 78 } // namespace webrtc
79 79
80 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_DELAY_BASED_BWE_H_ 80 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_DELAY_BASED_BWE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698