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