OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 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 |
11 #include "webrtc/modules/remote_bitrate_estimator/test/estimators/send_side.h" | 11 #include "webrtc/modules/remote_bitrate_estimator/test/estimators/send_side.h" |
12 | 12 |
13 #include <algorithm> | 13 #include <algorithm> |
14 | 14 |
15 #include "webrtc/base/logging.h" | 15 #include "webrtc/base/logging.h" |
16 #include "webrtc/modules/congestion_controller/delay_based_bwe.h" | 16 #include "webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_abs_s
end_time.h" |
17 #include "webrtc/modules/remote_bitrate_estimator/test/bwe_test_logging.h" | 17 #include "webrtc/modules/remote_bitrate_estimator/test/bwe_test_logging.h" |
18 | 18 |
19 namespace webrtc { | 19 namespace webrtc { |
20 namespace testing { | 20 namespace testing { |
21 namespace bwe { | 21 namespace bwe { |
22 | 22 |
23 const int kFeedbackIntervalMs = 50; | 23 const int kFeedbackIntervalMs = 50; |
24 | 24 |
25 SendSideBweSender::SendSideBweSender(int kbps, | 25 SendSideBweSender::SendSideBweSender(int kbps, |
26 BitrateObserver* observer, | 26 BitrateObserver* observer, |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 packet_feedback_vector_.back().arrival_time_ms; | 159 packet_feedback_vector_.back().arrival_time_ms; |
160 FeedbackPacket* fb = new SendSideBweFeedback( | 160 FeedbackPacket* fb = new SendSideBweFeedback( |
161 flow_id_, now_ms * 1000, corrected_send_time_ms, packet_feedback_vector_); | 161 flow_id_, now_ms * 1000, corrected_send_time_ms, packet_feedback_vector_); |
162 packet_feedback_vector_.clear(); | 162 packet_feedback_vector_.clear(); |
163 return fb; | 163 return fb; |
164 } | 164 } |
165 | 165 |
166 } // namespace bwe | 166 } // namespace bwe |
167 } // namespace testing | 167 } // namespace testing |
168 } // namespace webrtc | 168 } // namespace webrtc |
OLD | NEW |