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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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. |
96 virtual PacedSender* pacer() { return pacer_.get(); } | 96 virtual PacedSender* pacer() { return pacer_.get(); } |
| 97 virtual TransportFeedbackObserver* GetTransportFeedbackObserver() { |
| 98 return this; |
| 99 } |
97 RateLimiter* GetRetransmissionRateLimiter(); | 100 RateLimiter* GetRetransmissionRateLimiter(); |
98 void EnablePeriodicAlrProbing(bool enable); | 101 void EnablePeriodicAlrProbing(bool enable); |
99 | 102 |
100 // SetAllocatedSendBitrateLimits sets bitrates limits imposed by send codec | 103 // SetAllocatedSendBitrateLimits sets bitrates limits imposed by send codec |
101 // settings. | 104 // settings. |
102 // |min_send_bitrate_bps| is the total minimum send bitrate required by all | 105 // |min_send_bitrate_bps| is the total minimum send bitrate required by all |
103 // sending streams. This is the minimum bitrate the PacedSender will use. | 106 // sending streams. This is the minimum bitrate the PacedSender will use. |
104 // Note that CongestionController::OnNetworkChanged can still be called with | 107 // Note that CongestionController::OnNetworkChanged can still be called with |
105 // a lower bitrate estimate. | 108 // a lower bitrate estimate. |
106 // |max_padding_bitrate_bps| is the max bitrate the send streams request for | 109 // |max_padding_bitrate_bps| is the max bitrate the send streams request for |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 std::unique_ptr<DelayBasedBwe> delay_based_bwe_ GUARDED_BY(bwe_lock_); | 198 std::unique_ptr<DelayBasedBwe> delay_based_bwe_ GUARDED_BY(bwe_lock_); |
196 | 199 |
197 rtc::ThreadChecker worker_thread_checker_; | 200 rtc::ThreadChecker worker_thread_checker_; |
198 | 201 |
199 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(CongestionController); | 202 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(CongestionController); |
200 }; | 203 }; |
201 | 204 |
202 } // namespace webrtc | 205 } // namespace webrtc |
203 | 206 |
204 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_CONGESTION_CONTROLLER_H_ | 207 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_CONGESTION_CONTROLLER_H_ |
OLD | NEW |