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 |
11 #include "webrtc/call/rampup_tests.h" | 11 #include "webrtc/call/rampup_tests.h" |
12 | 12 |
13 #include "webrtc/base/checks.h" | 13 #include "webrtc/rtc_base/checks.h" |
14 #include "webrtc/base/logging.h" | 14 #include "webrtc/rtc_base/logging.h" |
15 #include "webrtc/base/platform_thread.h" | 15 #include "webrtc/rtc_base/platform_thread.h" |
16 #include "webrtc/test/encoder_settings.h" | 16 #include "webrtc/test/encoder_settings.h" |
17 #include "webrtc/test/gtest.h" | 17 #include "webrtc/test/gtest.h" |
18 #include "webrtc/test/testsupport/perf_test.h" | 18 #include "webrtc/test/testsupport/perf_test.h" |
19 | 19 |
20 namespace webrtc { | 20 namespace webrtc { |
21 namespace { | 21 namespace { |
22 | 22 |
23 static const int64_t kPollIntervalMs = 20; | 23 static const int64_t kPollIntervalMs = 20; |
24 static const int kExpectedHighVideoBitrateBps = 80000; | 24 static const int kExpectedHighVideoBitrateBps = 80000; |
25 static const int kExpectedHighAudioBitrateBps = 30000; | 25 static const int kExpectedHighAudioBitrateBps = 30000; |
(...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
641 RunBaseTest(&test); | 641 RunBaseTest(&test); |
642 } | 642 } |
643 | 643 |
644 TEST_F(RampUpTest, AudioTransportSequenceNumber) { | 644 TEST_F(RampUpTest, AudioTransportSequenceNumber) { |
645 RampUpTester test(0, 1, 0, 300000, 10000, | 645 RampUpTester test(0, 1, 0, 300000, 10000, |
646 RtpExtension::kTransportSequenceNumberUri, false, false, | 646 RtpExtension::kTransportSequenceNumberUri, false, false, |
647 false); | 647 false); |
648 RunBaseTest(&test); | 648 RunBaseTest(&test); |
649 } | 649 } |
650 } // namespace webrtc | 650 } // namespace webrtc |
OLD | NEW |