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 | 10 |
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
577 TEST_F(RampUpTest, UpDownUpTransportSequenceNumberRtx) { | 577 TEST_F(RampUpTest, UpDownUpTransportSequenceNumberRtx) { |
578 std::vector<int> loss_rates = {0, 0, 0, 0}; | 578 std::vector<int> loss_rates = {0, 0, 0, 0}; |
579 RampUpDownUpTester test(3, 0, 0, kStartBitrateBps, | 579 RampUpDownUpTester test(3, 0, 0, kStartBitrateBps, |
580 RtpExtension::kTransportSequenceNumberUri, true, | 580 RtpExtension::kTransportSequenceNumberUri, true, |
581 false, loss_rates, true); | 581 false, loss_rates, true); |
582 RunBaseTest(&test); | 582 RunBaseTest(&test); |
583 } | 583 } |
584 | 584 |
585 // TODO(holmer): Tests which don't report perf stats should be moved to a | 585 // TODO(holmer): Tests which don't report perf stats should be moved to a |
586 // different executable since they per definition are not perf tests. | 586 // different executable since they per definition are not perf tests. |
587 TEST_F(RampUpTest, UpDownUpTransportSequenceNumberPacketLoss) { | 587 // Crashes on Linux only, see webrtc:7919. |
| 588 #if defined(WEBRTC_LINUX) |
| 589 #define MAYBE_UpDownUpTransportSequenceNumberPacketLoss \ |
| 590 DISABLED_UpDownUpTransportSequenceNumberPacketLoss |
| 591 #else |
| 592 #define MAYBE_UpDownUpTransportSequenceNumberPacketLoss \ |
| 593 UpDownUpTransportSequenceNumberPacketLoss |
| 594 #endif |
| 595 TEST_F(RampUpTest, MAYBE_UpDownUpTransportSequenceNumberPacketLoss) { |
588 std::vector<int> loss_rates = {20, 0, 0, 0}; | 596 std::vector<int> loss_rates = {20, 0, 0, 0}; |
589 RampUpDownUpTester test(1, 0, 1, kStartBitrateBps, | 597 RampUpDownUpTester test(1, 0, 1, kStartBitrateBps, |
590 RtpExtension::kTransportSequenceNumberUri, true, | 598 RtpExtension::kTransportSequenceNumberUri, true, |
591 false, loss_rates, false); | 599 false, loss_rates, false); |
592 RunBaseTest(&test); | 600 RunBaseTest(&test); |
593 } | 601 } |
594 | 602 |
595 TEST_F(RampUpTest, UpDownUpAudioVideoTransportSequenceNumberRtx) { | 603 TEST_F(RampUpTest, UpDownUpAudioVideoTransportSequenceNumberRtx) { |
596 std::vector<int> loss_rates = {0, 0, 0, 0}; | 604 std::vector<int> loss_rates = {0, 0, 0, 0}; |
597 RampUpDownUpTester test(3, 1, 0, kStartBitrateBps, | 605 RampUpDownUpTester test(3, 1, 0, kStartBitrateBps, |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
644 RunBaseTest(&test); | 652 RunBaseTest(&test); |
645 } | 653 } |
646 | 654 |
647 TEST_F(RampUpTest, AudioTransportSequenceNumber) { | 655 TEST_F(RampUpTest, AudioTransportSequenceNumber) { |
648 RampUpTester test(0, 1, 0, 300000, 10000, | 656 RampUpTester test(0, 1, 0, 300000, 10000, |
649 RtpExtension::kTransportSequenceNumberUri, false, false, | 657 RtpExtension::kTransportSequenceNumberUri, false, false, |
650 false); | 658 false); |
651 RunBaseTest(&test); | 659 RunBaseTest(&test); |
652 } | 660 } |
653 } // namespace webrtc | 661 } // namespace webrtc |
OLD | NEW |