Chromium Code Reviews| Index: webrtc/api/peerconnectioninterface.h |
| diff --git a/webrtc/api/peerconnectioninterface.h b/webrtc/api/peerconnectioninterface.h |
| index 1b74564d6e88d49548c502bdec84bd282611b9ea..609fd4aa932dd64429d7a8808b4678f386755416 100644 |
| --- a/webrtc/api/peerconnectioninterface.h |
| +++ b/webrtc/api/peerconnectioninterface.h |
| @@ -1080,6 +1080,24 @@ rtc::scoped_refptr<PeerConnectionFactoryInterface> CreatePeerConnectionFactory( |
| cricket::WebRtcVideoEncoderFactory* encoder_factory, |
| cricket::WebRtcVideoDecoderFactory* decoder_factory); |
| +// Create a new instance of PeerConnectionFactoryInterface with optional |
| +// external audio mixed and audio processing modules. |
| +// |
| +// If |audio_mixer| is null, an internal audio mixer will be created and used. |
| +// If |audio_processing| is null, an internal audio processing module will be |
| +// created and used. |
| +rtc::scoped_refptr<PeerConnectionFactoryInterface> CreatePeerConnectionFactory( |
|
peah-webrtc
2017/06/30 11:48:46
This name was chosen in discussion with kwiberg@ a
Taylor Brandstetter
2017/06/30 14:18:39
Agreed. We touched on this is a "slim/modular webr
|
| + rtc::Thread* network_thread, |
| + rtc::Thread* worker_thread, |
| + rtc::Thread* signaling_thread, |
| + AudioDeviceModule* default_adm, |
| + rtc::scoped_refptr<AudioEncoderFactory> audio_encoder_factory, |
| + rtc::scoped_refptr<AudioDecoderFactory> audio_decoder_factory, |
| + cricket::WebRtcVideoEncoderFactory* video_encoder_factory, |
| + cricket::WebRtcVideoDecoderFactory* video_decoder_factory, |
| + rtc::scoped_refptr<AudioMixer> audio_mixer, |
| + rtc::scoped_refptr<AudioProcessing> audio_processing); |
| + |
| // Create a new instance of PeerConnectionFactoryInterface with external audio |
| // mixer. |
| // |