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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 virtual void OnSentPacket(const rtc::SentPacket& sent_packet); | 112 virtual void OnSentPacket(const rtc::SentPacket& sent_packet); |
113 | 113 |
114 // Implements CallStatsObserver. | 114 // Implements CallStatsObserver. |
115 void OnRttUpdate(int64_t avg_rtt_ms, int64_t max_rtt_ms) override; | 115 void OnRttUpdate(int64_t avg_rtt_ms, int64_t max_rtt_ms) override; |
116 | 116 |
117 // Implements Module. | 117 // Implements Module. |
118 int64_t TimeUntilNextProcess() override; | 118 int64_t TimeUntilNextProcess() override; |
119 void Process() override; | 119 void Process() override; |
120 | 120 |
121 // Implements TransportFeedbackObserver. | 121 // Implements TransportFeedbackObserver. |
122 void AddPacket(uint16_t sequence_number, | 122 void AddPacket(uint32_t ssrc, |
| 123 uint16_t sequence_number, |
123 size_t length, | 124 size_t length, |
124 const PacedPacketInfo& pacing_info) override; | 125 const PacedPacketInfo& pacing_info) override; |
125 void OnTransportFeedback(const rtcp::TransportFeedback& feedback) override; | 126 void OnTransportFeedback(const rtcp::TransportFeedback& feedback) override; |
126 std::vector<PacketFeedback> GetTransportFeedbackVector() const override; | 127 std::vector<PacketFeedback> GetTransportFeedbackVector() const override; |
127 | 128 |
128 private: | 129 private: |
129 SendSideCongestionController send_side_cc_; | 130 SendSideCongestionController send_side_cc_; |
130 ReceiveSideCongestionController receive_side_cc_; | 131 ReceiveSideCongestionController receive_side_cc_; |
131 | 132 |
132 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(CongestionController); | 133 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(CongestionController); |
133 }; | 134 }; |
134 | 135 |
135 } // namespace webrtc | 136 } // namespace webrtc |
136 | 137 |
137 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_CONGESTION_CONTROLLER_H_ | 138 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_CONGESTION_CONTROLLER_H_ |
OLD | NEW |