| 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 virtual void SetTransportOverhead(size_t transport_overhead_bytes_per_packet); | 85 virtual void SetTransportOverhead(size_t transport_overhead_bytes_per_packet); |
| 86 | 86 |
| 87 virtual BitrateController* GetBitrateController() const; | 87 virtual BitrateController* GetBitrateController() const; |
| 88 virtual RemoteBitrateEstimator* GetRemoteBitrateEstimator( | 88 virtual RemoteBitrateEstimator* GetRemoteBitrateEstimator( |
| 89 bool send_side_bwe); | 89 bool send_side_bwe); |
| 90 virtual int64_t GetPacerQueuingDelayMs() const; | 90 virtual int64_t GetPacerQueuingDelayMs() const; |
| 91 // TODO(nisse): Delete this accessor function. The pacer should be | 91 // TODO(nisse): Delete this accessor function. The pacer should be |
| 92 // internal to the congestion controller. | 92 // internal to the congestion controller. |
| 93 virtual PacedSender* pacer() { return pacer_.get(); } | 93 virtual PacedSender* pacer() { return pacer_.get(); } |
| 94 virtual TransportFeedbackObserver* GetTransportFeedbackObserver(); | 94 virtual TransportFeedbackObserver* GetTransportFeedbackObserver(); |
| 95 void RegisterTransportFeedbackAdapterObserver( |
| 96 TransportFeedbackAdapterObserver* observer); |
| 97 void DeRegisterTransportFeedbackAdapterObserver( |
| 98 TransportFeedbackAdapterObserver* observer); |
| 95 RateLimiter* GetRetransmissionRateLimiter(); | 99 RateLimiter* GetRetransmissionRateLimiter(); |
| 96 void EnablePeriodicAlrProbing(bool enable); | 100 void EnablePeriodicAlrProbing(bool enable); |
| 97 | 101 |
| 98 // SetAllocatedSendBitrateLimits sets bitrates limits imposed by send codec | 102 // SetAllocatedSendBitrateLimits sets bitrates limits imposed by send codec |
| 99 // settings. | 103 // settings. |
| 100 // |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 |
| 101 // sending streams. This is the minimum bitrate the PacedSender will use. | 105 // sending streams. This is the minimum bitrate the PacedSender will use. |
| 102 // Note that CongestionController::OnNetworkChanged can still be called with | 106 // Note that CongestionController::OnNetworkChanged can still be called with |
| 103 // a lower bitrate estimate. | 107 // a lower bitrate estimate. |
| 104 // |max_padding_bitrate_bps| is the max bitrate the send streams request for | 108 // |max_padding_bitrate_bps| is the max bitrate the send streams request for |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 uint8_t last_reported_fraction_loss_ GUARDED_BY(critsect_); | 184 uint8_t last_reported_fraction_loss_ GUARDED_BY(critsect_); |
| 181 int64_t last_reported_rtt_ GUARDED_BY(critsect_); | 185 int64_t last_reported_rtt_ GUARDED_BY(critsect_); |
| 182 NetworkState network_state_ GUARDED_BY(critsect_); | 186 NetworkState network_state_ GUARDED_BY(critsect_); |
| 183 | 187 |
| 184 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(CongestionController); | 188 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(CongestionController); |
| 185 }; | 189 }; |
| 186 | 190 |
| 187 } // namespace webrtc | 191 } // namespace webrtc |
| 188 | 192 |
| 189 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_CONGESTION_CONTROLLER_H_ | 193 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_CONGESTION_CONTROLLER_H_ |
| OLD | NEW |