| 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" | |
| 16 #include "webrtc/base/ptr_util.h" | |
| 17 #include "webrtc/modules/congestion_controller/delay_based_bwe.h" | 15 #include "webrtc/modules/congestion_controller/delay_based_bwe.h" |
| 18 #include "webrtc/modules/remote_bitrate_estimator/test/bwe_test_logging.h" | 16 #include "webrtc/modules/remote_bitrate_estimator/test/bwe_test_logging.h" |
| 17 #include "webrtc/rtc_base/logging.h" |
| 18 #include "webrtc/rtc_base/ptr_util.h" |
| 19 | 19 |
| 20 namespace webrtc { | 20 namespace webrtc { |
| 21 namespace testing { | 21 namespace testing { |
| 22 namespace bwe { | 22 namespace bwe { |
| 23 | 23 |
| 24 const int kFeedbackIntervalMs = 50; | 24 const int kFeedbackIntervalMs = 50; |
| 25 | 25 |
| 26 SendSideBweSender::SendSideBweSender(int kbps, | 26 SendSideBweSender::SendSideBweSender(int kbps, |
| 27 BitrateObserver* observer, | 27 BitrateObserver* observer, |
| 28 Clock* clock) | 28 Clock* clock) |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 packet_feedback_vector_.back().arrival_time_ms; | 169 packet_feedback_vector_.back().arrival_time_ms; |
| 170 FeedbackPacket* fb = new SendSideBweFeedback( | 170 FeedbackPacket* fb = new SendSideBweFeedback( |
| 171 flow_id_, now_ms * 1000, corrected_send_time_ms, packet_feedback_vector_); | 171 flow_id_, now_ms * 1000, corrected_send_time_ms, packet_feedback_vector_); |
| 172 packet_feedback_vector_.clear(); | 172 packet_feedback_vector_.clear(); |
| 173 return fb; | 173 return fb; |
| 174 } | 174 } |
| 175 | 175 |
| 176 } // namespace bwe | 176 } // namespace bwe |
| 177 } // namespace testing | 177 } // namespace testing |
| 178 } // namespace webrtc | 178 } // namespace webrtc |
| OLD | NEW |