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 1643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1654 test::LastHistogramSample("WebRTC.Video.ReceivedWidthInPixels")); | 1654 test::LastHistogramSample("WebRTC.Video.ReceivedWidthInPixels")); |
1655 EXPECT_EQ(static_cast<int>(encoder_config_.streams[0].height), | 1655 EXPECT_EQ(static_cast<int>(encoder_config_.streams[0].height), |
1656 test::LastHistogramSample("WebRTC.Video.ReceivedHeightInPixels")); | 1656 test::LastHistogramSample("WebRTC.Video.ReceivedHeightInPixels")); |
1657 | 1657 |
1658 EXPECT_EQ(1, test::NumHistogramSamples("WebRTC.Video.InputFramesPerSecond")); | 1658 EXPECT_EQ(1, test::NumHistogramSamples("WebRTC.Video.InputFramesPerSecond")); |
1659 EXPECT_EQ(1, test::NumHistogramSamples("WebRTC.Video.SentFramesPerSecond")); | 1659 EXPECT_EQ(1, test::NumHistogramSamples("WebRTC.Video.SentFramesPerSecond")); |
1660 EXPECT_EQ(1, test::NumHistogramSamples( | 1660 EXPECT_EQ(1, test::NumHistogramSamples( |
1661 "WebRTC.Video.DecodedFramesPerSecond")); | 1661 "WebRTC.Video.DecodedFramesPerSecond")); |
1662 EXPECT_EQ(1, test::NumHistogramSamples("WebRTC.Video.RenderFramesPerSecond")); | 1662 EXPECT_EQ(1, test::NumHistogramSamples("WebRTC.Video.RenderFramesPerSecond")); |
1663 | 1663 |
| 1664 EXPECT_EQ(1, test::NumHistogramSamples("WebRTC.Video.EncodeTimeInMs")); |
| 1665 EXPECT_EQ(1, test::NumHistogramSamples("WebRTC.Video.DecodeTimeInMs")); |
| 1666 |
1664 EXPECT_EQ(1, test::NumHistogramSamples( | 1667 EXPECT_EQ(1, test::NumHistogramSamples( |
1665 "WebRTC.Video.BitrateSentInKbps")); | 1668 "WebRTC.Video.BitrateSentInKbps")); |
1666 EXPECT_EQ(1, test::NumHistogramSamples( | 1669 EXPECT_EQ(1, test::NumHistogramSamples( |
1667 "WebRTC.Video.BitrateReceivedInKbps")); | 1670 "WebRTC.Video.BitrateReceivedInKbps")); |
1668 EXPECT_EQ(1, test::NumHistogramSamples( | 1671 EXPECT_EQ(1, test::NumHistogramSamples( |
1669 "WebRTC.Video.MediaBitrateSentInKbps")); | 1672 "WebRTC.Video.MediaBitrateSentInKbps")); |
1670 EXPECT_EQ(1, test::NumHistogramSamples( | 1673 EXPECT_EQ(1, test::NumHistogramSamples( |
1671 "WebRTC.Video.MediaBitrateReceivedInKbps")); | 1674 "WebRTC.Video.MediaBitrateReceivedInKbps")); |
1672 EXPECT_EQ(1, test::NumHistogramSamples( | 1675 EXPECT_EQ(1, test::NumHistogramSamples( |
1673 "WebRTC.Video.PaddingBitrateSentInKbps")); | 1676 "WebRTC.Video.PaddingBitrateSentInKbps")); |
(...skipping 1179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2853 EXPECT_TRUE(default_receive_config.rtp.rtx.empty()) | 2856 EXPECT_TRUE(default_receive_config.rtp.rtx.empty()) |
2854 << "Enabling RTX requires rtpmap: rtx negotiation."; | 2857 << "Enabling RTX requires rtpmap: rtx negotiation."; |
2855 EXPECT_TRUE(default_receive_config.rtp.extensions.empty()) | 2858 EXPECT_TRUE(default_receive_config.rtp.extensions.empty()) |
2856 << "Enabling RTP extensions require negotiation."; | 2859 << "Enabling RTP extensions require negotiation."; |
2857 | 2860 |
2858 VerifyEmptyNackConfig(default_receive_config.rtp.nack); | 2861 VerifyEmptyNackConfig(default_receive_config.rtp.nack); |
2859 VerifyEmptyFecConfig(default_receive_config.rtp.fec); | 2862 VerifyEmptyFecConfig(default_receive_config.rtp.fec); |
2860 } | 2863 } |
2861 | 2864 |
2862 } // namespace webrtc | 2865 } // namespace webrtc |
OLD | NEW |