OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 #include <algorithm> | 10 #include <algorithm> |
(...skipping 2161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2172 EXPECT_EQ(1, test::NumHistogramSamples( | 2172 EXPECT_EQ(1, test::NumHistogramSamples( |
2173 "WebRTC.Video.PaddingBitrateReceivedInKbps")); | 2173 "WebRTC.Video.PaddingBitrateReceivedInKbps")); |
2174 EXPECT_EQ(1, test::NumHistogramSamples(video_prefix + | 2174 EXPECT_EQ(1, test::NumHistogramSamples(video_prefix + |
2175 "RetransmittedBitrateSentInKbps")); | 2175 "RetransmittedBitrateSentInKbps")); |
2176 EXPECT_EQ(1, test::NumHistogramSamples( | 2176 EXPECT_EQ(1, test::NumHistogramSamples( |
2177 "WebRTC.Video.RetransmittedBitrateReceivedInKbps")); | 2177 "WebRTC.Video.RetransmittedBitrateReceivedInKbps")); |
2178 | 2178 |
2179 EXPECT_EQ(1, test::NumHistogramSamples(video_prefix + "SendSideDelayInMs")); | 2179 EXPECT_EQ(1, test::NumHistogramSamples(video_prefix + "SendSideDelayInMs")); |
2180 EXPECT_EQ(1, | 2180 EXPECT_EQ(1, |
2181 test::NumHistogramSamples(video_prefix + "SendSideDelayMaxInMs")); | 2181 test::NumHistogramSamples(video_prefix + "SendSideDelayMaxInMs")); |
| 2182 EXPECT_EQ(1, test::NumHistogramSamples(video_prefix + "SendDelayInMs")); |
2182 | 2183 |
2183 int num_rtx_samples = use_rtx ? 1 : 0; | 2184 int num_rtx_samples = use_rtx ? 1 : 0; |
2184 EXPECT_EQ(num_rtx_samples, test::NumHistogramSamples( | 2185 EXPECT_EQ(num_rtx_samples, test::NumHistogramSamples( |
2185 "WebRTC.Video.RtxBitrateSentInKbps")); | 2186 "WebRTC.Video.RtxBitrateSentInKbps")); |
2186 EXPECT_EQ(num_rtx_samples, test::NumHistogramSamples( | 2187 EXPECT_EQ(num_rtx_samples, test::NumHistogramSamples( |
2187 "WebRTC.Video.RtxBitrateReceivedInKbps")); | 2188 "WebRTC.Video.RtxBitrateReceivedInKbps")); |
2188 | 2189 |
2189 int num_red_samples = use_red ? 1 : 0; | 2190 int num_red_samples = use_red ? 1 : 0; |
2190 EXPECT_EQ(num_red_samples, test::NumHistogramSamples( | 2191 EXPECT_EQ(num_red_samples, test::NumHistogramSamples( |
2191 "WebRTC.Video.FecBitrateSentInKbps")); | 2192 "WebRTC.Video.FecBitrateSentInKbps")); |
(...skipping 1312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3504 private: | 3505 private: |
3505 bool video_observed_; | 3506 bool video_observed_; |
3506 bool audio_observed_; | 3507 bool audio_observed_; |
3507 SequenceNumberUnwrapper unwrapper_; | 3508 SequenceNumberUnwrapper unwrapper_; |
3508 std::set<int64_t> received_packet_ids_; | 3509 std::set<int64_t> received_packet_ids_; |
3509 } test; | 3510 } test; |
3510 | 3511 |
3511 RunBaseTest(&test); | 3512 RunBaseTest(&test); |
3512 } | 3513 } |
3513 } // namespace webrtc | 3514 } // namespace webrtc |
OLD | NEW |