OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2014 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 #ifndef WEBRTC_TEST_COMMON_CALL_TEST_H_ | 10 #ifndef WEBRTC_TEST_COMMON_CALL_TEST_H_ |
(...skipping 25 matching lines...) Expand all Loading... |
36 static const uint8_t kSendPayloadType; | 36 static const uint8_t kSendPayloadType; |
37 static const uint8_t kSendRtxPayloadType; | 37 static const uint8_t kSendRtxPayloadType; |
38 static const uint8_t kFakeSendPayloadType; | 38 static const uint8_t kFakeSendPayloadType; |
39 static const uint8_t kRedPayloadType; | 39 static const uint8_t kRedPayloadType; |
40 static const uint8_t kRtxRedPayloadType; | 40 static const uint8_t kRtxRedPayloadType; |
41 static const uint8_t kUlpfecPayloadType; | 41 static const uint8_t kUlpfecPayloadType; |
42 static const uint32_t kSendRtxSsrcs[kNumSsrcs]; | 42 static const uint32_t kSendRtxSsrcs[kNumSsrcs]; |
43 static const uint32_t kSendSsrcs[kNumSsrcs]; | 43 static const uint32_t kSendSsrcs[kNumSsrcs]; |
44 static const uint32_t kReceiverLocalSsrc; | 44 static const uint32_t kReceiverLocalSsrc; |
45 static const int kNackRtpHistoryMs; | 45 static const int kNackRtpHistoryMs; |
46 static const int kAbsSendTimeExtensionId; | |
47 | 46 |
48 protected: | 47 protected: |
49 void RunBaseTest(BaseTest* test, const FakeNetworkPipe::Config& config); | 48 void RunBaseTest(BaseTest* test, const FakeNetworkPipe::Config& config); |
50 | 49 |
51 void CreateCalls(const Call::Config& sender_config, | 50 void CreateCalls(const Call::Config& sender_config, |
52 const Call::Config& receiver_config); | 51 const Call::Config& receiver_config); |
53 void CreateSenderCall(const Call::Config& config); | 52 void CreateSenderCall(const Call::Config& config); |
54 void CreateReceiverCall(const Call::Config& config); | 53 void CreateReceiverCall(const Call::Config& config); |
55 void DestroyCalls(); | 54 void DestroyCalls(); |
56 | 55 |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 public: | 120 public: |
122 explicit EndToEndTest(unsigned int timeout_ms); | 121 explicit EndToEndTest(unsigned int timeout_ms); |
123 | 122 |
124 bool ShouldCreateReceivers() const override; | 123 bool ShouldCreateReceivers() const override; |
125 }; | 124 }; |
126 | 125 |
127 } // namespace test | 126 } // namespace test |
128 } // namespace webrtc | 127 } // namespace webrtc |
129 | 128 |
130 #endif // WEBRTC_TEST_COMMON_CALL_TEST_H_ | 129 #endif // WEBRTC_TEST_COMMON_CALL_TEST_H_ |
OLD | NEW |