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

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

Issue 1732863002: Break out pacer thread from CongestionController to increase testability. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Alphabetic order. Created 4 years, 10 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) 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
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 // Implements Module. 66 // Implements Module.
67 int64_t TimeUntilNextProcess() override; 67 int64_t TimeUntilNextProcess() override;
68 int32_t Process() override; 68 int32_t Process() override;
69 69
70 private: 70 private:
71 Clock* const clock_; 71 Clock* const clock_;
72 rtc::ThreadChecker config_thread_checker_; 72 rtc::ThreadChecker config_thread_checker_;
73 const rtc::scoped_ptr<PacedSender> pacer_; 73 const rtc::scoped_ptr<PacedSender> pacer_;
74 const rtc::scoped_ptr<RemoteBitrateEstimator> remote_bitrate_estimator_; 74 const rtc::scoped_ptr<RemoteBitrateEstimator> remote_bitrate_estimator_;
75 const rtc::scoped_ptr<ProcessThread> pacer_thread_;
76 const rtc::scoped_ptr<BitrateController> bitrate_controller_; 75 const rtc::scoped_ptr<BitrateController> bitrate_controller_;
77 PacketRouter packet_router_; 76 PacketRouter packet_router_;
78 RemoteEstimatorProxy remote_estimator_proxy_; 77 RemoteEstimatorProxy remote_estimator_proxy_;
79 TransportFeedbackAdapter transport_feedback_adapter_; 78 TransportFeedbackAdapter transport_feedback_adapter_;
80 int min_bitrate_bps_; 79 int min_bitrate_bps_;
81 80
82 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(CongestionController); 81 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(CongestionController);
83 }; 82 };
84 83
85 } // namespace webrtc 84 } // namespace webrtc
86 85
87 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_CONGESTION_CONTROLLER_H_ 86 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_CONGESTION_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698