Index: api/peerconnectioninterface.h |
diff --git a/api/peerconnectioninterface.h b/api/peerconnectioninterface.h |
index 13e78e645506c7de0a3358ac8681cc5ce90d4507..3753da4d091c7d0c8013d9ab1af5a7b444b07e39 100644 |
--- a/api/peerconnectioninterface.h |
+++ b/api/peerconnectioninterface.h |
@@ -112,6 +112,8 @@ class AudioDeviceModule; |
class AudioMixer; |
class CallFactoryInterface; |
class MediaConstraintsInterface; |
+class VideoDecoderFactory; |
+class VideoEncoderFactory; |
// MediaStream container interface. |
class StreamCollectionInterface : public rtc::RefCountInterface { |
@@ -1116,6 +1118,21 @@ rtc::scoped_refptr<PeerConnectionFactoryInterface> CreatePeerConnectionFactory( |
rtc::scoped_refptr<AudioMixer> audio_mixer, |
rtc::scoped_refptr<AudioProcessing> audio_processing); |
+// Create a new instance of PeerConnectionFactoryInterface with optional video |
+// codec factories. These video factories represents all video codecs, i.e. no |
+// extra internal video codecs will be added. |
+rtc::scoped_refptr<PeerConnectionFactoryInterface> CreatePeerConnectionFactory( |
+ rtc::Thread* network_thread, |
+ rtc::Thread* worker_thread, |
+ rtc::Thread* signaling_thread, |
+ rtc::scoped_refptr<AudioDeviceModule> default_adm, |
+ rtc::scoped_refptr<AudioEncoderFactory> audio_encoder_factory, |
+ rtc::scoped_refptr<AudioDecoderFactory> audio_decoder_factory, |
+ std::unique_ptr<VideoEncoderFactory> video_encoder_factory, |
+ std::unique_ptr<VideoDecoderFactory> 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. |
// |