| 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 receive_side_cc_.TimeUntilNextProcess()); | 101 receive_side_cc_.TimeUntilNextProcess()); |
| 102 } | 102 } |
| 103 | 103 |
| 104 void CongestionController::Process() { | 104 void CongestionController::Process() { |
| 105 send_side_cc_.Process(); | 105 send_side_cc_.Process(); |
| 106 receive_side_cc_.Process(); | 106 receive_side_cc_.Process(); |
| 107 } | 107 } |
| 108 | 108 |
| 109 void CongestionController::AddPacket(uint32_t ssrc, | 109 void CongestionController::AddPacket(uint32_t ssrc, |
| 110 uint16_t sequence_number, | 110 uint16_t sequence_number, |
| 111 size_t length, | 111 size_t payload_size, |
| 112 size_t rtp_headers_size, |
| 112 const PacedPacketInfo& pacing_info) { | 113 const PacedPacketInfo& pacing_info) { |
| 113 send_side_cc_.AddPacket(ssrc, sequence_number, length, pacing_info); | 114 send_side_cc_.AddPacket(ssrc, sequence_number, payload_size, rtp_headers_size, |
| 115 pacing_info); |
| 114 } | 116 } |
| 115 | 117 |
| 116 void CongestionController::OnTransportFeedback( | 118 void CongestionController::OnTransportFeedback( |
| 117 const rtcp::TransportFeedback& feedback) { | 119 const rtcp::TransportFeedback& feedback) { |
| 118 send_side_cc_.OnTransportFeedback(feedback); | 120 send_side_cc_.OnTransportFeedback(feedback); |
| 119 } | 121 } |
| 120 | 122 |
| 121 std::vector<PacketFeedback> CongestionController::GetTransportFeedbackVector() | 123 std::vector<PacketFeedback> CongestionController::GetTransportFeedbackVector() |
| 122 const { | 124 const { |
| 123 return send_side_cc_.GetTransportFeedbackVector(); | 125 return send_side_cc_.GetTransportFeedbackVector(); |
| 124 } | 126 } |
| 125 | 127 |
| 126 } // namespace webrtc | 128 } // namespace webrtc |
| OLD | NEW |