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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 std::vector<FlexfecReceiveStream::Config> flexfec_receive_configs_; | 113 std::vector<FlexfecReceiveStream::Config> flexfec_receive_configs_; |
114 std::vector<FlexfecReceiveStream*> flexfec_receive_streams_; | 114 std::vector<FlexfecReceiveStream*> flexfec_receive_streams_; |
115 | 115 |
116 std::unique_ptr<test::FrameGeneratorCapturer> frame_generator_capturer_; | 116 std::unique_ptr<test::FrameGeneratorCapturer> frame_generator_capturer_; |
117 test::FakeEncoder fake_encoder_; | 117 test::FakeEncoder fake_encoder_; |
118 std::vector<std::unique_ptr<VideoDecoder>> allocated_decoders_; | 118 std::vector<std::unique_ptr<VideoDecoder>> allocated_decoders_; |
119 size_t num_video_streams_; | 119 size_t num_video_streams_; |
120 size_t num_audio_streams_; | 120 size_t num_audio_streams_; |
121 size_t num_flexfec_streams_; | 121 size_t num_flexfec_streams_; |
122 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_; | 122 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_; |
| 123 rtc::scoped_refptr<AudioEncoderFactory> encoder_factory_; |
123 test::FakeVideoRenderer fake_renderer_; | 124 test::FakeVideoRenderer fake_renderer_; |
124 | 125 |
125 private: | 126 private: |
126 // TODO(holmer): Remove once VoiceEngine is fully refactored to the new API. | 127 // TODO(holmer): Remove once VoiceEngine is fully refactored to the new API. |
127 // These methods are used to set up legacy voice engines and channels which is | 128 // These methods are used to set up legacy voice engines and channels which is |
128 // necessary while voice engine is being refactored to the new stream API. | 129 // necessary while voice engine is being refactored to the new stream API. |
129 struct VoiceEngineState { | 130 struct VoiceEngineState { |
130 VoiceEngineState() | 131 VoiceEngineState() |
131 : voice_engine(nullptr), | 132 : voice_engine(nullptr), |
132 base(nullptr), | 133 base(nullptr), |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 public: | 208 public: |
208 explicit EndToEndTest(unsigned int timeout_ms); | 209 explicit EndToEndTest(unsigned int timeout_ms); |
209 | 210 |
210 bool ShouldCreateReceivers() const override; | 211 bool ShouldCreateReceivers() const override; |
211 }; | 212 }; |
212 | 213 |
213 } // namespace test | 214 } // namespace test |
214 } // namespace webrtc | 215 } // namespace webrtc |
215 | 216 |
216 #endif // WEBRTC_TEST_CALL_TEST_H_ | 217 #endif // WEBRTC_TEST_CALL_TEST_H_ |
OLD | NEW |