OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2012 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 | 10 |
(...skipping 1194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1205 // ownership transfer and ref counting more obvious. | 1205 // ownership transfer and ref counting more obvious. |
1206 // | 1206 // |
1207 // TODO(deadbeef): Encapsulate these modules in a struct, so that when a new | 1207 // TODO(deadbeef): Encapsulate these modules in a struct, so that when a new |
1208 // module is inevitably exposed, we can just add a field to the struct instead | 1208 // module is inevitably exposed, we can just add a field to the struct instead |
1209 // of adding a whole new CreateModularPeerConnectionFactory overload. | 1209 // of adding a whole new CreateModularPeerConnectionFactory overload. |
1210 rtc::scoped_refptr<PeerConnectionFactoryInterface> | 1210 rtc::scoped_refptr<PeerConnectionFactoryInterface> |
1211 CreateModularPeerConnectionFactory( | 1211 CreateModularPeerConnectionFactory( |
1212 rtc::Thread* network_thread, | 1212 rtc::Thread* network_thread, |
1213 rtc::Thread* worker_thread, | 1213 rtc::Thread* worker_thread, |
1214 rtc::Thread* signaling_thread, | 1214 rtc::Thread* signaling_thread, |
1215 AudioDeviceModule* default_adm, | |
1216 rtc::scoped_refptr<AudioEncoderFactory> audio_encoder_factory, | |
1217 rtc::scoped_refptr<AudioDecoderFactory> audio_decoder_factory, | |
1218 cricket::WebRtcVideoEncoderFactory* video_encoder_factory, | 1215 cricket::WebRtcVideoEncoderFactory* video_encoder_factory, |
1219 cricket::WebRtcVideoDecoderFactory* video_decoder_factory, | 1216 cricket::WebRtcVideoDecoderFactory* video_decoder_factory, |
1220 rtc::scoped_refptr<AudioMixer> audio_mixer, | |
1221 std::unique_ptr<cricket::MediaEngineInterface> media_engine, | 1217 std::unique_ptr<cricket::MediaEngineInterface> media_engine, |
1222 std::unique_ptr<CallFactoryInterface> call_factory, | 1218 std::unique_ptr<CallFactoryInterface> call_factory, |
1223 std::unique_ptr<RtcEventLogFactoryInterface> event_log_factory); | 1219 std::unique_ptr<RtcEventLogFactoryInterface> event_log_factory); |
1224 | 1220 |
1225 } // namespace webrtc | 1221 } // namespace webrtc |
1226 | 1222 |
1227 #endif // API_PEERCONNECTIONINTERFACE_H_ | 1223 #endif // API_PEERCONNECTIONINTERFACE_H_ |
OLD | NEW |