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

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

Issue 2685673003: Define RtpTransportControllerSendInterface. (Closed)
Patch Set: Minor comment update. Created 3 years, 8 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 int min_bitrate_bps, 81 int min_bitrate_bps,
82 int max_bitrate_bps); 82 int max_bitrate_bps);
83 virtual void SignalNetworkState(NetworkState state); 83 virtual void SignalNetworkState(NetworkState state);
84 virtual void SetTransportOverhead(size_t transport_overhead_bytes_per_packet); 84 virtual void SetTransportOverhead(size_t transport_overhead_bytes_per_packet);
85 85
86 virtual BitrateController* GetBitrateController() const; 86 virtual BitrateController* GetBitrateController() const;
87 virtual RemoteBitrateEstimator* GetRemoteBitrateEstimator( 87 virtual RemoteBitrateEstimator* GetRemoteBitrateEstimator(
88 bool send_side_bwe); 88 bool send_side_bwe);
89 virtual int64_t GetPacerQueuingDelayMs() const; 89 virtual int64_t GetPacerQueuingDelayMs() const;
90 // TODO(nisse): Delete this accessor function. The pacer should be 90 // TODO(nisse): Delete this accessor function. The pacer should be
91 // internal to the congestion controller. 91 // internal to the congestion controller. Currently needed by Call,
92 // to register the pacer module on the right thread.
92 virtual PacedSender* pacer() { return send_side_cc_.pacer(); } 93 virtual PacedSender* pacer() { return send_side_cc_.pacer(); }
94 // TODO(nisse): Delete this method, as soon as downstream projects
95 // are updated.
93 virtual TransportFeedbackObserver* GetTransportFeedbackObserver() { 96 virtual TransportFeedbackObserver* GetTransportFeedbackObserver() {
94 return this; 97 return this;
95 } 98 }
96 RateLimiter* GetRetransmissionRateLimiter(); 99 RateLimiter* GetRetransmissionRateLimiter();
97 void EnablePeriodicAlrProbing(bool enable); 100 void EnablePeriodicAlrProbing(bool enable);
98 101
99 // SetAllocatedSendBitrateLimits sets bitrates limits imposed by send codec 102 // SetAllocatedSendBitrateLimits sets bitrates limits imposed by send codec
100 // settings. 103 // settings.
101 // |min_send_bitrate_bps| is the total minimum send bitrate required by all 104 // |min_send_bitrate_bps| is the total minimum send bitrate required by all
102 // sending streams. This is the minimum bitrate the PacedSender will use. 105 // sending streams. This is the minimum bitrate the PacedSender will use.
(...skipping 25 matching lines...) Expand all
128 private: 131 private:
129 SendSideCongestionController send_side_cc_; 132 SendSideCongestionController send_side_cc_;
130 ReceiveSideCongestionController receive_side_cc_; 133 ReceiveSideCongestionController receive_side_cc_;
131 134
132 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(CongestionController); 135 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(CongestionController);
133 }; 136 };
134 137
135 } // namespace webrtc 138 } // namespace webrtc
136 139
137 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_CONGESTION_CONTROLLER_H_ 140 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_CONGESTION_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698