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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 const Call::Config& receiver_config); | 64 const Call::Config& receiver_config); |
65 void CreateSenderCall(const Call::Config& config); | 65 void CreateSenderCall(const Call::Config& config); |
66 void CreateReceiverCall(const Call::Config& config); | 66 void CreateReceiverCall(const Call::Config& config); |
67 void DestroyCalls(); | 67 void DestroyCalls(); |
68 | 68 |
69 void CreateSendConfig(size_t num_video_streams, | 69 void CreateSendConfig(size_t num_video_streams, |
70 size_t num_audio_streams, | 70 size_t num_audio_streams, |
71 Transport* send_transport); | 71 Transport* send_transport); |
72 void CreateMatchingReceiveConfigs(Transport* rtcp_send_transport); | 72 void CreateMatchingReceiveConfigs(Transport* rtcp_send_transport); |
73 | 73 |
| 74 void CreateFrameGeneratorCapturerWithDrift(Clock* drift_clock, float speed); |
74 void CreateFrameGeneratorCapturer(); | 75 void CreateFrameGeneratorCapturer(); |
75 void CreateFakeAudioDevices(); | 76 void CreateFakeAudioDevices(); |
76 | 77 |
77 void CreateVideoStreams(); | 78 void CreateVideoStreams(); |
78 void CreateAudioStreams(); | 79 void CreateAudioStreams(); |
79 void Start(); | 80 void Start(); |
80 void Stop(); | 81 void Stop(); |
81 void DestroyStreams(); | 82 void DestroyStreams(); |
82 | 83 |
83 Clock* const clock_; | 84 Clock* const clock_; |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 public: | 186 public: |
186 explicit EndToEndTest(unsigned int timeout_ms); | 187 explicit EndToEndTest(unsigned int timeout_ms); |
187 | 188 |
188 bool ShouldCreateReceivers() const override; | 189 bool ShouldCreateReceivers() const override; |
189 }; | 190 }; |
190 | 191 |
191 } // namespace test | 192 } // namespace test |
192 } // namespace webrtc | 193 } // namespace webrtc |
193 | 194 |
194 #endif // WEBRTC_TEST_CALL_TEST_H_ | 195 #endif // WEBRTC_TEST_CALL_TEST_H_ |
OLD | NEW |