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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 | 67 |
68 virtual void OnSentPacket(const rtc::SentPacket& sent_packet); | 68 virtual void OnSentPacket(const rtc::SentPacket& sent_packet); |
69 | 69 |
70 private: | 70 private: |
71 rtc::scoped_ptr<VieRemb> remb_; | 71 rtc::scoped_ptr<VieRemb> remb_; |
72 rtc::scoped_ptr<PacketRouter> packet_router_; | 72 rtc::scoped_ptr<PacketRouter> packet_router_; |
73 rtc::scoped_ptr<PacedSender> pacer_; | 73 rtc::scoped_ptr<PacedSender> pacer_; |
74 rtc::scoped_ptr<RemoteBitrateEstimator> remote_bitrate_estimator_; | 74 rtc::scoped_ptr<RemoteBitrateEstimator> remote_bitrate_estimator_; |
75 rtc::scoped_ptr<RemoteEstimatorProxy> remote_estimator_proxy_; | 75 rtc::scoped_ptr<RemoteEstimatorProxy> remote_estimator_proxy_; |
76 | 76 |
77 mutable rtc::CriticalSection encoder_crit_; | 77 rtc::CriticalSection encoder_crit_; |
78 std::vector<ViEEncoder*> encoders_ GUARDED_BY(encoder_crit_); | 78 std::vector<ViEEncoder*> encoders_ GUARDED_BY(encoder_crit_); |
79 | 79 |
80 // Registered at construct time and assumed to outlive this class. | 80 // Registered at construct time and assumed to outlive this class. |
81 ProcessThread* const process_thread_; | 81 ProcessThread* const process_thread_; |
82 CallStats* const call_stats_; | 82 CallStats* const call_stats_; |
83 | 83 |
84 rtc::scoped_ptr<ProcessThread> pacer_thread_; | 84 rtc::scoped_ptr<ProcessThread> pacer_thread_; |
85 | 85 |
86 rtc::scoped_ptr<BitrateController> bitrate_controller_; | 86 rtc::scoped_ptr<BitrateController> bitrate_controller_; |
87 rtc::scoped_ptr<TransportFeedbackAdapter> transport_feedback_adapter_; | 87 rtc::scoped_ptr<TransportFeedbackAdapter> transport_feedback_adapter_; |
88 int min_bitrate_bps_; | 88 int min_bitrate_bps_; |
89 | 89 |
90 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(CongestionController); | 90 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(CongestionController); |
91 }; | 91 }; |
92 | 92 |
93 } // namespace webrtc | 93 } // namespace webrtc |
94 | 94 |
95 #endif // WEBRTC_CALL_CONGESTION_CONTROLLER_H_ | 95 #endif // WEBRTC_CALL_CONGESTION_CONTROLLER_H_ |
OLD | NEW |