| 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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 | 165 |
| 166 virtual std::unique_ptr<FakeAudioDevice::Capturer> CreateCapturer(); | 166 virtual std::unique_ptr<FakeAudioDevice::Capturer> CreateCapturer(); |
| 167 virtual std::unique_ptr<FakeAudioDevice::Renderer> CreateRenderer(); | 167 virtual std::unique_ptr<FakeAudioDevice::Renderer> CreateRenderer(); |
| 168 virtual void OnFakeAudioDevicesCreated(FakeAudioDevice* send_audio_device, | 168 virtual void OnFakeAudioDevicesCreated(FakeAudioDevice* send_audio_device, |
| 169 FakeAudioDevice* recv_audio_device); | 169 FakeAudioDevice* recv_audio_device); |
| 170 | 170 |
| 171 virtual Call::Config GetSenderCallConfig(); | 171 virtual Call::Config GetSenderCallConfig(); |
| 172 virtual Call::Config GetReceiverCallConfig(); | 172 virtual Call::Config GetReceiverCallConfig(); |
| 173 virtual void OnCallsCreated(Call* sender_call, Call* receiver_call); | 173 virtual void OnCallsCreated(Call* sender_call, Call* receiver_call); |
| 174 | 174 |
| 175 // The default implementation creates MediaType::VIDEO transports. | |
| 176 virtual test::PacketTransport* CreateSendTransport(Call* sender_call); | 175 virtual test::PacketTransport* CreateSendTransport(Call* sender_call); |
| 177 virtual test::PacketTransport* CreateReceiveTransport(); | 176 virtual test::PacketTransport* CreateReceiveTransport(); |
| 178 | 177 |
| 179 virtual void ModifyVideoConfigs( | 178 virtual void ModifyVideoConfigs( |
| 180 VideoSendStream::Config* send_config, | 179 VideoSendStream::Config* send_config, |
| 181 std::vector<VideoReceiveStream::Config>* receive_configs, | 180 std::vector<VideoReceiveStream::Config>* receive_configs, |
| 182 VideoEncoderConfig* encoder_config); | 181 VideoEncoderConfig* encoder_config); |
| 183 virtual void ModifyVideoCaptureStartResolution(int* width, | 182 virtual void ModifyVideoCaptureStartResolution(int* width, |
| 184 int* heigt, | 183 int* heigt, |
| 185 int* frame_rate); | 184 int* frame_rate); |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 EndToEndTest(); | 218 EndToEndTest(); |
| 220 explicit EndToEndTest(unsigned int timeout_ms); | 219 explicit EndToEndTest(unsigned int timeout_ms); |
| 221 | 220 |
| 222 bool ShouldCreateReceivers() const override; | 221 bool ShouldCreateReceivers() const override; |
| 223 }; | 222 }; |
| 224 | 223 |
| 225 } // namespace test | 224 } // namespace test |
| 226 } // namespace webrtc | 225 } // namespace webrtc |
| 227 | 226 |
| 228 #endif // WEBRTC_TEST_CALL_TEST_H_ | 227 #endif // WEBRTC_TEST_CALL_TEST_H_ |
| OLD | NEW |