| 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 15 matching lines...) Expand all Loading... |
| 26 | 26 |
| 27 namespace webrtc { | 27 namespace webrtc { |
| 28 | 28 |
| 29 class BitrateController; | 29 class BitrateController; |
| 30 class BitrateObserver; | 30 class BitrateObserver; |
| 31 class Clock; | 31 class Clock; |
| 32 class PacedSender; | 32 class PacedSender; |
| 33 class ProcessThread; | 33 class ProcessThread; |
| 34 class RemoteBitrateEstimator; | 34 class RemoteBitrateEstimator; |
| 35 class RemoteBitrateObserver; | 35 class RemoteBitrateObserver; |
| 36 class RtcEventLog; |
| 36 class TransportFeedbackObserver; | 37 class TransportFeedbackObserver; |
| 37 | 38 |
| 38 class CongestionController : public CallStatsObserver, public Module { | 39 class CongestionController : public CallStatsObserver, public Module { |
| 39 public: | 40 public: |
| 40 CongestionController(Clock* clock, | 41 CongestionController(Clock* clock, |
| 41 BitrateObserver* bitrate_observer, | 42 BitrateObserver* bitrate_observer, |
| 42 RemoteBitrateObserver* remote_bitrate_observer); | 43 RemoteBitrateObserver* remote_bitrate_observer, |
| 44 RtcEventLog* event_log); |
| 43 virtual ~CongestionController(); | 45 virtual ~CongestionController(); |
| 44 | 46 |
| 45 virtual void SetBweBitrates(int min_bitrate_bps, | 47 virtual void SetBweBitrates(int min_bitrate_bps, |
| 46 int start_bitrate_bps, | 48 int start_bitrate_bps, |
| 47 int max_bitrate_bps); | 49 int max_bitrate_bps); |
| 48 virtual void SignalNetworkState(NetworkState state); | 50 virtual void SignalNetworkState(NetworkState state); |
| 49 virtual BitrateController* GetBitrateController() const; | 51 virtual BitrateController* GetBitrateController() const; |
| 50 virtual RemoteBitrateEstimator* GetRemoteBitrateEstimator( | 52 virtual RemoteBitrateEstimator* GetRemoteBitrateEstimator( |
| 51 bool send_side_bwe); | 53 bool send_side_bwe); |
| 52 virtual int64_t GetPacerQueuingDelayMs() const; | 54 virtual int64_t GetPacerQueuingDelayMs() const; |
| (...skipping 24 matching lines...) Expand all Loading... |
| 77 RemoteEstimatorProxy remote_estimator_proxy_; | 79 RemoteEstimatorProxy remote_estimator_proxy_; |
| 78 TransportFeedbackAdapter transport_feedback_adapter_; | 80 TransportFeedbackAdapter transport_feedback_adapter_; |
| 79 int min_bitrate_bps_; | 81 int min_bitrate_bps_; |
| 80 | 82 |
| 81 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(CongestionController); | 83 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(CongestionController); |
| 82 }; | 84 }; |
| 83 | 85 |
| 84 } // namespace webrtc | 86 } // namespace webrtc |
| 85 | 87 |
| 86 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_CONGESTION_CONTROLLER_H_ | 88 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_CONGESTION_CONTROLLER_H_ |
| OLD | NEW |