Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Side by Side Diff: webrtc/video/end_to_end_tests.cc

Issue 2589713003: Make |rtcp_send_transport| mandatory in FlexfecReceiveStream::Config. (Closed)
Patch Set: Rebase. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/test/call_test.cc ('k') | webrtc/video/video_quality_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « webrtc/test/call_test.cc ('k') | webrtc/video/video_quality_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698