| 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 3870 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3881 EXPECT_TRUE(default_receive_config.rtp.rtx.empty()) | 3881 EXPECT_TRUE(default_receive_config.rtp.rtx.empty()) |
| 3882 << "Enabling RTX requires rtpmap: rtx negotiation."; | 3882 << "Enabling RTX requires rtpmap: rtx negotiation."; |
| 3883 EXPECT_TRUE(default_receive_config.rtp.extensions.empty()) | 3883 EXPECT_TRUE(default_receive_config.rtp.extensions.empty()) |
| 3884 << "Enabling RTP extensions require negotiation."; | 3884 << "Enabling RTP extensions require negotiation."; |
| 3885 | 3885 |
| 3886 VerifyEmptyNackConfig(default_receive_config.rtp.nack); | 3886 VerifyEmptyNackConfig(default_receive_config.rtp.nack); |
| 3887 VerifyEmptyUlpfecConfig(default_receive_config.rtp.ulpfec); | 3887 VerifyEmptyUlpfecConfig(default_receive_config.rtp.ulpfec); |
| 3888 } | 3888 } |
| 3889 | 3889 |
| 3890 TEST_P(EndToEndTest, VerifyDefaultFlexfecReceiveConfigParameters) { | 3890 TEST_P(EndToEndTest, VerifyDefaultFlexfecReceiveConfigParameters) { |
| 3891 FlexfecReceiveStream::Config default_receive_config; | 3891 FlexfecReceiveStream::Config default_receive_config(nullptr); |
| 3892 EXPECT_EQ(-1, default_receive_config.payload_type) | 3892 EXPECT_EQ(-1, default_receive_config.payload_type) |
| 3893 << "Enabling FlexFEC requires rtpmap: flexfec negotiation."; | 3893 << "Enabling FlexFEC requires rtpmap: flexfec negotiation."; |
| 3894 EXPECT_EQ(0U, default_receive_config.remote_ssrc) | 3894 EXPECT_EQ(0U, default_receive_config.remote_ssrc) |
| 3895 << "Enabling FlexFEC requires ssrc-group: FEC-FR negotiation."; | 3895 << "Enabling FlexFEC requires ssrc-group: FEC-FR negotiation."; |
| 3896 EXPECT_TRUE(default_receive_config.protected_media_ssrcs.empty()) | 3896 EXPECT_TRUE(default_receive_config.protected_media_ssrcs.empty()) |
| 3897 << "Enabling FlexFEC requires ssrc-group: FEC-FR negotiation."; | 3897 << "Enabling FlexFEC requires ssrc-group: FEC-FR negotiation."; |
| 3898 } | 3898 } |
| 3899 | 3899 |
| 3900 TEST_P(EndToEndTest, TransportSeqNumOnAudioAndVideo) { | 3900 TEST_P(EndToEndTest, TransportSeqNumOnAudioAndVideo) { |
| 3901 static const int kExtensionId = 8; | 3901 static const int kExtensionId = 8; |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4064 std::unique_ptr<VideoEncoder> encoder_; | 4064 std::unique_ptr<VideoEncoder> encoder_; |
| 4065 std::unique_ptr<VideoDecoder> decoder_; | 4065 std::unique_ptr<VideoDecoder> decoder_; |
| 4066 rtc::CriticalSection crit_; | 4066 rtc::CriticalSection crit_; |
| 4067 int recorded_frames_ GUARDED_BY(crit_); | 4067 int recorded_frames_ GUARDED_BY(crit_); |
| 4068 } test(this); | 4068 } test(this); |
| 4069 | 4069 |
| 4070 RunBaseTest(&test); | 4070 RunBaseTest(&test); |
| 4071 } | 4071 } |
| 4072 | 4072 |
| 4073 } // namespace webrtc | 4073 } // namespace webrtc |
| OLD | NEW |