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/packet_receiver.h" | 11 #include "webrtc/modules/remote_bitrate_estimator/test/packet_receiver.h" |
12 | 12 |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
16 #include "webrtc/base/common.h" | 16 #include "webrtc/base/common.h" |
17 #include "webrtc/modules/interface/module_common_types.h" | 17 #include "webrtc/modules/include/module_common_types.h" |
18 #include "webrtc/modules/remote_bitrate_estimator/test/bwe.h" | 18 #include "webrtc/modules/remote_bitrate_estimator/test/bwe.h" |
19 #include "webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.h" | 19 #include "webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.h" |
20 #include "webrtc/modules/rtp_rtcp/interface/receive_statistics.h" | 20 #include "webrtc/modules/rtp_rtcp/include/receive_statistics.h" |
21 #include "webrtc/system_wrappers/include/clock.h" | 21 #include "webrtc/system_wrappers/include/clock.h" |
22 | 22 |
23 namespace webrtc { | 23 namespace webrtc { |
24 namespace testing { | 24 namespace testing { |
25 namespace bwe { | 25 namespace bwe { |
26 | 26 |
27 PacketReceiver::PacketReceiver(PacketProcessorListener* listener, | 27 PacketReceiver::PacketReceiver(PacketProcessorListener* listener, |
28 int flow_id, | 28 int flow_id, |
29 BandwidthEstimatorType bwe_type, | 29 BandwidthEstimatorType bwe_type, |
30 bool plot_delay, | 30 bool plot_delay, |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 float PacketReceiver::GlobalPacketLoss() { | 138 float PacketReceiver::GlobalPacketLoss() { |
139 return bwe_receiver_->GlobalReceiverPacketLossRatio(); | 139 return bwe_receiver_->GlobalReceiverPacketLossRatio(); |
140 } | 140 } |
141 | 141 |
142 Stats<double> PacketReceiver::GetDelayStats() const { | 142 Stats<double> PacketReceiver::GetDelayStats() const { |
143 return delay_stats_; | 143 return delay_stats_; |
144 } | 144 } |
145 } // namespace bwe | 145 } // namespace bwe |
146 } // namespace testing | 146 } // namespace testing |
147 } // namespace webrtc | 147 } // namespace webrtc |
OLD | NEW |