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

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

Issue 1506743003: Remove unused RTP-header parser. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years 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 | « no previous file | no next file » | 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 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 (*receive_configs)[0].rtp.nack.rtp_history_ms = kNackRtpHistoryMs; 437 (*receive_configs)[0].rtp.nack.rtp_history_ms = kNackRtpHistoryMs;
438 } 438 }
439 439
440 void PerformTest() override { 440 void PerformTest() override {
441 EXPECT_EQ(kEventSignaled, Wait()) 441 EXPECT_EQ(kEventSignaled, Wait())
442 << "Timed out waiting for packets to be NACKed, retransmitted and " 442 << "Timed out waiting for packets to be NACKed, retransmitted and "
443 "rendered."; 443 "rendered.";
444 } 444 }
445 445
446 rtc::CriticalSection crit_; 446 rtc::CriticalSection crit_;
447 rtc::scoped_ptr<RtpHeaderParser> rtp_parser_;
448 std::set<uint16_t> dropped_packets_; 447 std::set<uint16_t> dropped_packets_;
449 std::set<uint16_t> retransmitted_packets_; 448 std::set<uint16_t> retransmitted_packets_;
450 uint64_t sent_rtp_packets_; 449 uint64_t sent_rtp_packets_;
451 int packets_left_to_drop_; 450 int packets_left_to_drop_;
452 int nacks_left_ GUARDED_BY(&crit_); 451 int nacks_left_ GUARDED_BY(&crit_);
453 } test; 452 } test;
454 453
455 RunBaseTest(&test, FakeNetworkPipe::Config()); 454 RunBaseTest(&test, FakeNetworkPipe::Config());
456 } 455 }
457 456
(...skipping 2766 matching lines...) Expand 10 before | Expand all | Expand 10 after
3224 EXPECT_TRUE(default_receive_config.rtp.rtx.empty()) 3223 EXPECT_TRUE(default_receive_config.rtp.rtx.empty())
3225 << "Enabling RTX requires rtpmap: rtx negotiation."; 3224 << "Enabling RTX requires rtpmap: rtx negotiation.";
3226 EXPECT_TRUE(default_receive_config.rtp.extensions.empty()) 3225 EXPECT_TRUE(default_receive_config.rtp.extensions.empty())
3227 << "Enabling RTP extensions require negotiation."; 3226 << "Enabling RTP extensions require negotiation.";
3228 3227
3229 VerifyEmptyNackConfig(default_receive_config.rtp.nack); 3228 VerifyEmptyNackConfig(default_receive_config.rtp.nack);
3230 VerifyEmptyFecConfig(default_receive_config.rtp.fec); 3229 VerifyEmptyFecConfig(default_receive_config.rtp.fec);
3231 } 3230 }
3232 3231
3233 } // namespace webrtc 3232 } // namespace webrtc
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698