| 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 std::vector<FlexfecReceiveStream::Config> flexfec_receive_configs_; | 116 std::vector<FlexfecReceiveStream::Config> flexfec_receive_configs_; |
| 117 std::vector<FlexfecReceiveStream*> flexfec_receive_streams_; | 117 std::vector<FlexfecReceiveStream*> flexfec_receive_streams_; |
| 118 | 118 |
| 119 std::unique_ptr<test::FrameGeneratorCapturer> frame_generator_capturer_; | 119 std::unique_ptr<test::FrameGeneratorCapturer> frame_generator_capturer_; |
| 120 test::FakeEncoder fake_encoder_; | 120 test::FakeEncoder fake_encoder_; |
| 121 std::vector<std::unique_ptr<VideoDecoder>> allocated_decoders_; | 121 std::vector<std::unique_ptr<VideoDecoder>> allocated_decoders_; |
| 122 size_t num_video_streams_; | 122 size_t num_video_streams_; |
| 123 size_t num_audio_streams_; | 123 size_t num_audio_streams_; |
| 124 size_t num_flexfec_streams_; | 124 size_t num_flexfec_streams_; |
| 125 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_; | 125 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_; |
| 126 rtc::scoped_refptr<AudioEncoderFactory> encoder_factory_; |
| 126 test::FakeVideoRenderer fake_renderer_; | 127 test::FakeVideoRenderer fake_renderer_; |
| 127 | 128 |
| 128 private: | 129 private: |
| 129 // TODO(holmer): Remove once VoiceEngine is fully refactored to the new API. | 130 // TODO(holmer): Remove once VoiceEngine is fully refactored to the new API. |
| 130 // These methods are used to set up legacy voice engines and channels which is | 131 // These methods are used to set up legacy voice engines and channels which is |
| 131 // necessary while voice engine is being refactored to the new stream API. | 132 // necessary while voice engine is being refactored to the new stream API. |
| 132 struct VoiceEngineState { | 133 struct VoiceEngineState { |
| 133 VoiceEngineState() | 134 VoiceEngineState() |
| 134 : voice_engine(nullptr), | 135 : voice_engine(nullptr), |
| 135 base(nullptr), | 136 base(nullptr), |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 EndToEndTest(); | 220 EndToEndTest(); |
| 220 explicit EndToEndTest(unsigned int timeout_ms); | 221 explicit EndToEndTest(unsigned int timeout_ms); |
| 221 | 222 |
| 222 bool ShouldCreateReceivers() const override; | 223 bool ShouldCreateReceivers() const override; |
| 223 }; | 224 }; |
| 224 | 225 |
| 225 } // namespace test | 226 } // namespace test |
| 226 } // namespace webrtc | 227 } // namespace webrtc |
| 227 | 228 |
| 228 #endif // WEBRTC_TEST_CALL_TEST_H_ | 229 #endif // WEBRTC_TEST_CALL_TEST_H_ |
| OLD | NEW |