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 2028 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2039 "WebRTC.Video.PaddingBitrateSentInKbps")); | 2039 "WebRTC.Video.PaddingBitrateSentInKbps")); |
2040 EXPECT_EQ(1, test::NumHistogramSamples( | 2040 EXPECT_EQ(1, test::NumHistogramSamples( |
2041 "WebRTC.Video.PaddingBitrateReceivedInKbps")); | 2041 "WebRTC.Video.PaddingBitrateReceivedInKbps")); |
2042 EXPECT_EQ(1, test::NumHistogramSamples( | 2042 EXPECT_EQ(1, test::NumHistogramSamples( |
2043 "WebRTC.Video.RetransmittedBitrateSentInKbps")); | 2043 "WebRTC.Video.RetransmittedBitrateSentInKbps")); |
2044 EXPECT_EQ(1, test::NumHistogramSamples( | 2044 EXPECT_EQ(1, test::NumHistogramSamples( |
2045 "WebRTC.Video.RetransmittedBitrateReceivedInKbps")); | 2045 "WebRTC.Video.RetransmittedBitrateReceivedInKbps")); |
2046 | 2046 |
2047 EXPECT_EQ(1, test::NumHistogramSamples("WebRTC.Video.SendSideDelayInMs")); | 2047 EXPECT_EQ(1, test::NumHistogramSamples("WebRTC.Video.SendSideDelayInMs")); |
2048 EXPECT_EQ(1, test::NumHistogramSamples("WebRTC.Video.SendSideDelayMaxInMs")); | 2048 EXPECT_EQ(1, test::NumHistogramSamples("WebRTC.Video.SendSideDelayMaxInMs")); |
| 2049 EXPECT_EQ(1, test::NumHistogramSamples("WebRTC.Video.SendDelayInMs")); |
2049 | 2050 |
2050 int num_rtx_samples = use_rtx ? 1 : 0; | 2051 int num_rtx_samples = use_rtx ? 1 : 0; |
2051 EXPECT_EQ(num_rtx_samples, test::NumHistogramSamples( | 2052 EXPECT_EQ(num_rtx_samples, test::NumHistogramSamples( |
2052 "WebRTC.Video.RtxBitrateSentInKbps")); | 2053 "WebRTC.Video.RtxBitrateSentInKbps")); |
2053 EXPECT_EQ(num_rtx_samples, test::NumHistogramSamples( | 2054 EXPECT_EQ(num_rtx_samples, test::NumHistogramSamples( |
2054 "WebRTC.Video.RtxBitrateReceivedInKbps")); | 2055 "WebRTC.Video.RtxBitrateReceivedInKbps")); |
2055 | 2056 |
2056 int num_red_samples = use_red ? 1 : 0; | 2057 int num_red_samples = use_red ? 1 : 0; |
2057 EXPECT_EQ(num_red_samples, test::NumHistogramSamples( | 2058 EXPECT_EQ(num_red_samples, test::NumHistogramSamples( |
2058 "WebRTC.Video.FecBitrateSentInKbps")); | 2059 "WebRTC.Video.FecBitrateSentInKbps")); |
(...skipping 1145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3204 EXPECT_TRUE(default_receive_config.rtp.rtx.empty()) | 3205 EXPECT_TRUE(default_receive_config.rtp.rtx.empty()) |
3205 << "Enabling RTX requires rtpmap: rtx negotiation."; | 3206 << "Enabling RTX requires rtpmap: rtx negotiation."; |
3206 EXPECT_TRUE(default_receive_config.rtp.extensions.empty()) | 3207 EXPECT_TRUE(default_receive_config.rtp.extensions.empty()) |
3207 << "Enabling RTP extensions require negotiation."; | 3208 << "Enabling RTP extensions require negotiation."; |
3208 | 3209 |
3209 VerifyEmptyNackConfig(default_receive_config.rtp.nack); | 3210 VerifyEmptyNackConfig(default_receive_config.rtp.nack); |
3210 VerifyEmptyFecConfig(default_receive_config.rtp.fec); | 3211 VerifyEmptyFecConfig(default_receive_config.rtp.fec); |
3211 } | 3212 } |
3212 | 3213 |
3213 } // namespace webrtc | 3214 } // namespace webrtc |
OLD | NEW |