| Index: talk/app/webrtc/peerconnectioninterface.h
|
| diff --git a/talk/app/webrtc/peerconnectioninterface.h b/talk/app/webrtc/peerconnectioninterface.h
|
| index 946b1253c99bfca3ce1bd508a0973f6f437e83d6..038e2938550c7f8785239550d48d2d33f5045c07 100644
|
| --- a/talk/app/webrtc/peerconnectioninterface.h
|
| +++ b/talk/app/webrtc/peerconnectioninterface.h
|
| @@ -72,6 +72,7 @@
|
| #include <vector>
|
|
|
| #include "talk/app/webrtc/datachannelinterface.h"
|
| +#include "talk/app/webrtc/dtlscertificate.h"
|
| #include "talk/app/webrtc/dtlsidentitystore.h"
|
| #include "talk/app/webrtc/dtmfsenderinterface.h"
|
| #include "talk/app/webrtc/jsep.h"
|
| @@ -556,6 +557,14 @@ class PeerConnectionFactoryInterface : public rtc::RefCountInterface {
|
| DTLSIdentityServiceInterface* dtls_identity_service,
|
| PeerConnectionObserver* observer) = 0;
|
|
|
| + virtual rtc::scoped_refptr<PeerConnectionInterface>
|
| + CreatePeerConnection(
|
| + const PeerConnectionInterface::RTCConfiguration& configuration,
|
| + const MediaConstraintsInterface* constraints,
|
| + PortAllocatorFactoryInterface* allocator_factory,
|
| + rtc::scoped_refptr<DtlsCertificate> certificate,
|
| + PeerConnectionObserver* observer) = 0;
|
| +
|
| // TODO(mallinath) : Remove below versions after clients are updated
|
| // to above method.
|
| // In latest W3C WebRTC draft, PC constructor will take RTCConfiguration,
|
|
|