| 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_CALL_TEST_H_ | 10 #ifndef WEBRTC_TEST_CALL_TEST_H_ |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 static const uint8_t kRtxRedPayloadType; | 49 static const uint8_t kRtxRedPayloadType; |
| 50 static const uint8_t kUlpfecPayloadType; | 50 static const uint8_t kUlpfecPayloadType; |
| 51 static const uint8_t kFlexfecPayloadType; | 51 static const uint8_t kFlexfecPayloadType; |
| 52 static const uint8_t kAudioSendPayloadType; | 52 static const uint8_t kAudioSendPayloadType; |
| 53 static const uint32_t kSendRtxSsrcs[kNumSsrcs]; | 53 static const uint32_t kSendRtxSsrcs[kNumSsrcs]; |
| 54 static const uint32_t kVideoSendSsrcs[kNumSsrcs]; | 54 static const uint32_t kVideoSendSsrcs[kNumSsrcs]; |
| 55 static const uint32_t kAudioSendSsrc; | 55 static const uint32_t kAudioSendSsrc; |
| 56 static const uint32_t kFlexfecSendSsrc; | 56 static const uint32_t kFlexfecSendSsrc; |
| 57 static const uint32_t kReceiverLocalVideoSsrc; | 57 static const uint32_t kReceiverLocalVideoSsrc; |
| 58 static const uint32_t kReceiverLocalAudioSsrc; | 58 static const uint32_t kReceiverLocalAudioSsrc; |
| 59 static const uint32_t kReceiverLocalFlexfecSsrc; | |
| 60 static const int kNackRtpHistoryMs; | 59 static const int kNackRtpHistoryMs; |
| 61 | 60 |
| 62 protected: | 61 protected: |
| 63 // RunBaseTest overwrites the audio_state and the voice_engine of the send and | 62 // RunBaseTest overwrites the audio_state and the voice_engine of the send and |
| 64 // receive Call configs to simplify test code and avoid having old VoiceEngine | 63 // receive Call configs to simplify test code and avoid having old VoiceEngine |
| 65 // APIs in the tests. | 64 // APIs in the tests. |
| 66 void RunBaseTest(BaseTest* test); | 65 void RunBaseTest(BaseTest* test); |
| 67 | 66 |
| 68 void CreateCalls(const Call::Config& sender_config, | 67 void CreateCalls(const Call::Config& sender_config, |
| 69 const Call::Config& receiver_config); | 68 const Call::Config& receiver_config); |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 public: | 206 public: |
| 208 explicit EndToEndTest(unsigned int timeout_ms); | 207 explicit EndToEndTest(unsigned int timeout_ms); |
| 209 | 208 |
| 210 bool ShouldCreateReceivers() const override; | 209 bool ShouldCreateReceivers() const override; |
| 211 }; | 210 }; |
| 212 | 211 |
| 213 } // namespace test | 212 } // namespace test |
| 214 } // namespace webrtc | 213 } // namespace webrtc |
| 215 | 214 |
| 216 #endif // WEBRTC_TEST_CALL_TEST_H_ | 215 #endif // WEBRTC_TEST_CALL_TEST_H_ |
| OLD | NEW |