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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 int width, | 88 int width, |
89 int height); | 89 int height); |
90 void CreateFrameGeneratorCapturer(int framerate, int width, int height); | 90 void CreateFrameGeneratorCapturer(int framerate, int width, int height); |
91 void CreateFakeAudioDevices( | 91 void CreateFakeAudioDevices( |
92 std::unique_ptr<FakeAudioDevice::Capturer> capturer, | 92 std::unique_ptr<FakeAudioDevice::Capturer> capturer, |
93 std::unique_ptr<FakeAudioDevice::Renderer> renderer); | 93 std::unique_ptr<FakeAudioDevice::Renderer> renderer); |
94 | 94 |
95 void CreateVideoStreams(); | 95 void CreateVideoStreams(); |
96 void CreateAudioStreams(); | 96 void CreateAudioStreams(); |
97 void CreateFlexfecStreams(); | 97 void CreateFlexfecStreams(); |
| 98 |
| 99 void AssociateFlexfecStreamsWithVideoStreams(); |
| 100 void DissociateFlexfecStreamsFromVideoStreams(); |
| 101 |
98 void Start(); | 102 void Start(); |
99 void Stop(); | 103 void Stop(); |
100 void DestroyStreams(); | 104 void DestroyStreams(); |
101 void SetFakeVideoCaptureRotation(VideoRotation rotation); | 105 void SetFakeVideoCaptureRotation(VideoRotation rotation); |
102 | 106 |
103 Clock* const clock_; | 107 Clock* const clock_; |
104 | 108 |
105 std::unique_ptr<webrtc::RtcEventLog> event_log_; | 109 std::unique_ptr<webrtc::RtcEventLog> event_log_; |
106 std::unique_ptr<Call> sender_call_; | 110 std::unique_ptr<Call> sender_call_; |
107 std::unique_ptr<PacketTransport> send_transport_; | 111 std::unique_ptr<PacketTransport> send_transport_; |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 EndToEndTest(); | 230 EndToEndTest(); |
227 explicit EndToEndTest(unsigned int timeout_ms); | 231 explicit EndToEndTest(unsigned int timeout_ms); |
228 | 232 |
229 bool ShouldCreateReceivers() const override; | 233 bool ShouldCreateReceivers() const override; |
230 }; | 234 }; |
231 | 235 |
232 } // namespace test | 236 } // namespace test |
233 } // namespace webrtc | 237 } // namespace webrtc |
234 | 238 |
235 #endif // WEBRTC_TEST_CALL_TEST_H_ | 239 #endif // WEBRTC_TEST_CALL_TEST_H_ |
OLD | NEW |