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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 | 73 |
74 void CreateFrameGeneratorCapturerWithDrift(Clock* drift_clock, float speed); | 74 void CreateFrameGeneratorCapturerWithDrift(Clock* drift_clock, float speed); |
75 void CreateFrameGeneratorCapturer(); | 75 void CreateFrameGeneratorCapturer(); |
76 void CreateFakeAudioDevices(); | 76 void CreateFakeAudioDevices(); |
77 | 77 |
78 void CreateVideoStreams(); | 78 void CreateVideoStreams(); |
79 void CreateAudioStreams(); | 79 void CreateAudioStreams(); |
80 void Start(); | 80 void Start(); |
81 void Stop(); | 81 void Stop(); |
82 void DestroyStreams(); | 82 void DestroyStreams(); |
| 83 void SetFakeVideoCaptureRotation(VideoRotation rotation); |
83 | 84 |
84 Clock* const clock_; | 85 Clock* const clock_; |
85 | 86 |
86 rtc::scoped_ptr<Call> sender_call_; | 87 rtc::scoped_ptr<Call> sender_call_; |
87 rtc::scoped_ptr<PacketTransport> send_transport_; | 88 rtc::scoped_ptr<PacketTransport> send_transport_; |
88 VideoSendStream::Config video_send_config_; | 89 VideoSendStream::Config video_send_config_; |
89 VideoEncoderConfig video_encoder_config_; | 90 VideoEncoderConfig video_encoder_config_; |
90 VideoSendStream* video_send_stream_; | 91 VideoSendStream* video_send_stream_; |
91 AudioSendStream::Config audio_send_config_; | 92 AudioSendStream::Config audio_send_config_; |
92 AudioSendStream* audio_send_stream_; | 93 AudioSendStream* audio_send_stream_; |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 public: | 187 public: |
187 explicit EndToEndTest(unsigned int timeout_ms); | 188 explicit EndToEndTest(unsigned int timeout_ms); |
188 | 189 |
189 bool ShouldCreateReceivers() const override; | 190 bool ShouldCreateReceivers() const override; |
190 }; | 191 }; |
191 | 192 |
192 } // namespace test | 193 } // namespace test |
193 } // namespace webrtc | 194 } // namespace webrtc |
194 | 195 |
195 #endif // WEBRTC_TEST_CALL_TEST_H_ | 196 #endif // WEBRTC_TEST_CALL_TEST_H_ |
OLD | NEW |