Index: webrtc/api/objc/RTCPeerConnectionFactory+Private.h |
diff --git a/webrtc/api/objc/RTCIceServer+Private.h b/webrtc/api/objc/RTCPeerConnectionFactory+Private.h |
similarity index 56% |
copy from webrtc/api/objc/RTCIceServer+Private.h |
copy to webrtc/api/objc/RTCPeerConnectionFactory+Private.h |
index 59f5a92dffa10d313b3cdf98c9e2ca0edc081f1a..a5f2350ffad6743986b2daa91f9ac5e5b3b5dd76 100644 |
--- a/webrtc/api/objc/RTCIceServer+Private.h |
+++ b/webrtc/api/objc/RTCPeerConnectionFactory+Private.h |
@@ -8,20 +8,22 @@ |
* be found in the AUTHORS file in the root of the source tree. |
*/ |
-#import "RTCIceServer.h" |
+#import "RTCPeerConnectionFactory.h" |
-#include "talk/app/webrtc/peerconnectioninterface.h" |
+#include "talk/app/webrtc/peerconnectionfactory.h" |
+#include "webrtc/base/scoped_ref_ptr.h" |
NS_ASSUME_NONNULL_BEGIN |
-@interface RTCIceServer () |
+@interface RTCPeerConnectionFactory () |
/** |
- * IceServer struct representation of this RTCIceServer object's data. |
- * This is needed to pass to the underlying C++ APIs. |
+ * PeerConnectionFactoryInterface created and held by this |
+ * RTCPeerConnectionFactory object. This is needed to pass to the underlying |
+ * C++ APIs. |
*/ |
@property(nonatomic, readonly) |
- webrtc::PeerConnectionInterface::IceServer iceServer; |
+ rtc::scoped_refptr<webrtc::PeerConnectionFactoryInterface> nativeFactory; |
@end |