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 TEST_CALL_TEST_H_ | 10 #ifndef TEST_CALL_TEST_H_ |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 std::vector<AudioReceiveStream*> audio_receive_streams_; | 126 std::vector<AudioReceiveStream*> audio_receive_streams_; |
127 std::vector<FlexfecReceiveStream::Config> flexfec_receive_configs_; | 127 std::vector<FlexfecReceiveStream::Config> flexfec_receive_configs_; |
128 std::vector<FlexfecReceiveStream*> flexfec_receive_streams_; | 128 std::vector<FlexfecReceiveStream*> flexfec_receive_streams_; |
129 | 129 |
130 std::unique_ptr<test::FrameGeneratorCapturer> frame_generator_capturer_; | 130 std::unique_ptr<test::FrameGeneratorCapturer> frame_generator_capturer_; |
131 test::FakeEncoder fake_encoder_; | 131 test::FakeEncoder fake_encoder_; |
132 std::vector<std::unique_ptr<VideoDecoder>> allocated_decoders_; | 132 std::vector<std::unique_ptr<VideoDecoder>> allocated_decoders_; |
133 size_t num_video_streams_; | 133 size_t num_video_streams_; |
134 size_t num_audio_streams_; | 134 size_t num_audio_streams_; |
135 size_t num_flexfec_streams_; | 135 size_t num_flexfec_streams_; |
136 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_; | 136 rtc::scoped_refptr<AudioDecoderFactory> audio_decoder_factory_; |
137 rtc::scoped_refptr<AudioEncoderFactory> encoder_factory_; | 137 rtc::scoped_refptr<AudioEncoderFactory> audio_encoder_factory_; |
138 test::FakeVideoRenderer fake_renderer_; | 138 test::FakeVideoRenderer fake_renderer_; |
139 | 139 |
140 SingleThreadedTaskQueueForTesting task_queue_; | 140 SingleThreadedTaskQueueForTesting task_queue_; |
141 | 141 |
142 private: | 142 private: |
143 // TODO(holmer): Remove once VoiceEngine is fully refactored to the new API. | 143 // TODO(holmer): Remove once VoiceEngine is fully refactored to the new API. |
144 // These methods are used to set up legacy voice engines and channels which is | 144 // These methods are used to set up legacy voice engines and channels which is |
145 // necessary while voice engine is being refactored to the new stream API. | 145 // necessary while voice engine is being refactored to the new stream API. |
146 struct VoiceEngineState { | 146 struct VoiceEngineState { |
147 VoiceEngineState() | 147 VoiceEngineState() |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 EndToEndTest(); | 240 EndToEndTest(); |
241 explicit EndToEndTest(unsigned int timeout_ms); | 241 explicit EndToEndTest(unsigned int timeout_ms); |
242 | 242 |
243 bool ShouldCreateReceivers() const override; | 243 bool ShouldCreateReceivers() const override; |
244 }; | 244 }; |
245 | 245 |
246 } // namespace test | 246 } // namespace test |
247 } // namespace webrtc | 247 } // namespace webrtc |
248 | 248 |
249 #endif // TEST_CALL_TEST_H_ | 249 #endif // TEST_CALL_TEST_H_ |
OLD | NEW |