| 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 void CreateCalls(const Call::Config& sender_config, | 67 void CreateCalls(const Call::Config& sender_config, |
| 68 const Call::Config& receiver_config); | 68 const Call::Config& receiver_config); |
| 69 void CreateSenderCall(const Call::Config& config); | 69 void CreateSenderCall(const Call::Config& config); |
| 70 void CreateReceiverCall(const Call::Config& config); | 70 void CreateReceiverCall(const Call::Config& config); |
| 71 void DestroyCalls(); | 71 void DestroyCalls(); |
| 72 | 72 |
| 73 void CreateSendConfig(size_t num_video_streams, | 73 void CreateSendConfig(size_t num_video_streams, |
| 74 size_t num_audio_streams, | 74 size_t num_audio_streams, |
| 75 size_t num_flexfec_streams, | 75 size_t num_flexfec_streams, |
| 76 Transport* send_transport); | 76 Transport* send_transport); |
| 77 |
| 78 void CreateMatchingVideoReceiveConfigs( |
| 79 const VideoSendStream::Config& video_send_config, |
| 80 Transport* rtcp_send_transport); |
| 81 |
| 82 // Creates receive configs for video_send_config_, |
| 83 // for flexfec stream and for audio stream. |
| 77 void CreateMatchingReceiveConfigs(Transport* rtcp_send_transport); | 84 void CreateMatchingReceiveConfigs(Transport* rtcp_send_transport); |
| 78 | 85 |
| 79 void CreateFrameGeneratorCapturerWithDrift(Clock* drift_clock, | 86 void CreateFrameGeneratorCapturerWithDrift(Clock* drift_clock, |
| 80 float speed, | 87 float speed, |
| 81 int framerate, | 88 int framerate, |
| 82 int width, | 89 int width, |
| 83 int height); | 90 int height); |
| 84 void CreateFrameGeneratorCapturer(int framerate, int width, int height); | 91 void CreateFrameGeneratorCapturer(int framerate, int width, int height); |
| 85 void CreateFakeAudioDevices(); | 92 void CreateFakeAudioDevices(); |
| 86 | 93 |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 public: | 213 public: |
| 207 explicit EndToEndTest(unsigned int timeout_ms); | 214 explicit EndToEndTest(unsigned int timeout_ms); |
| 208 | 215 |
| 209 bool ShouldCreateReceivers() const override; | 216 bool ShouldCreateReceivers() const override; |
| 210 }; | 217 }; |
| 211 | 218 |
| 212 } // namespace test | 219 } // namespace test |
| 213 } // namespace webrtc | 220 } // namespace webrtc |
| 214 | 221 |
| 215 #endif // WEBRTC_TEST_CALL_TEST_H_ | 222 #endif // WEBRTC_TEST_CALL_TEST_H_ |
| OLD | NEW |