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

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

Issue 2685673003: Define RtpTransportControllerSendInterface. (Closed)
Patch Set: Rebased. Created 3 years, 9 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
« no previous file with comments | « webrtc/call/rtp_transport_controller_send.h ('k') | webrtc/test/mock_voe_channel_proxy.h » ('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
(...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 26 matching lines...) Expand all
129 private: 132 private:
130 SendSideCongestionController send_side_cc_; 133 SendSideCongestionController send_side_cc_;
131 ReceiveSideCongestionController receive_side_cc_; 134 ReceiveSideCongestionController receive_side_cc_;
132 135
133 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(CongestionController); 136 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(CongestionController);
134 }; 137 };
135 138
136 } // namespace webrtc 139 } // namespace webrtc
137 140
138 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_CONGESTION_CONTROLLER_H_ 141 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_CONGESTION_CONTROLLER_H_
OLDNEW
« no previous file with comments | « webrtc/call/rtp_transport_controller_send.h ('k') | webrtc/test/mock_voe_channel_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698