OLD | NEW |
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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 int min_bitrate_bps, | 85 int min_bitrate_bps, |
86 int max_bitrate_bps); | 86 int max_bitrate_bps); |
87 virtual void SignalNetworkState(NetworkState state); | 87 virtual void SignalNetworkState(NetworkState state); |
88 virtual void SetTransportOverhead(size_t transport_overhead_bytes_per_packet); | 88 virtual void SetTransportOverhead(size_t transport_overhead_bytes_per_packet); |
89 | 89 |
90 virtual BitrateController* GetBitrateController() const; | 90 virtual BitrateController* GetBitrateController() const; |
91 virtual RemoteBitrateEstimator* GetRemoteBitrateEstimator( | 91 virtual RemoteBitrateEstimator* GetRemoteBitrateEstimator( |
92 bool send_side_bwe); | 92 bool send_side_bwe); |
93 virtual int64_t GetPacerQueuingDelayMs() const; | 93 virtual int64_t GetPacerQueuingDelayMs() const; |
94 // TODO(nisse): Delete this accessor function. The pacer should be | 94 // TODO(nisse): Delete this accessor function. The pacer should be |
95 // internal to the congestion controller. | 95 // internal to the congestion controller. Currently needed by Call, |
| 96 // to register the pacer module on the right thread. |
96 virtual PacedSender* pacer() { return pacer_.get(); } | 97 virtual PacedSender* pacer() { return pacer_.get(); } |
| 98 // TODO(nisse): Delete this method, as soon as downstream projects |
| 99 // are updated. |
97 virtual TransportFeedbackObserver* GetTransportFeedbackObserver() { | 100 virtual TransportFeedbackObserver* GetTransportFeedbackObserver() { |
98 return this; | 101 return this; |
99 } | 102 } |
100 RateLimiter* GetRetransmissionRateLimiter(); | 103 RateLimiter* GetRetransmissionRateLimiter(); |
101 void EnablePeriodicAlrProbing(bool enable); | 104 void EnablePeriodicAlrProbing(bool enable); |
102 | 105 |
103 // SetAllocatedSendBitrateLimits sets bitrates limits imposed by send codec | 106 // SetAllocatedSendBitrateLimits sets bitrates limits imposed by send codec |
104 // settings. | 107 // settings. |
105 // |min_send_bitrate_bps| is the total minimum send bitrate required by all | 108 // |min_send_bitrate_bps| is the total minimum send bitrate required by all |
106 // sending streams. This is the minimum bitrate the PacedSender will use. | 109 // sending streams. This is the minimum bitrate the PacedSender will use. |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 std::unique_ptr<DelayBasedBwe> delay_based_bwe_ GUARDED_BY(bwe_lock_); | 201 std::unique_ptr<DelayBasedBwe> delay_based_bwe_ GUARDED_BY(bwe_lock_); |
199 | 202 |
200 rtc::ThreadChecker worker_thread_checker_; | 203 rtc::ThreadChecker worker_thread_checker_; |
201 | 204 |
202 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(CongestionController); | 205 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(CongestionController); |
203 }; | 206 }; |
204 | 207 |
205 } // namespace webrtc | 208 } // namespace webrtc |
206 | 209 |
207 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_CONGESTION_CONTROLLER_H_ | 210 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_CONGESTION_CONTROLLER_H_ |
OLD | NEW |