Index: webrtc/api/objc/RTCVideoSource+Private.h |
diff --git a/webrtc/api/objc/RTCIceServer+Private.h b/webrtc/api/objc/RTCVideoSource+Private.h |
similarity index 52% |
copy from webrtc/api/objc/RTCIceServer+Private.h |
copy to webrtc/api/objc/RTCVideoSource+Private.h |
index 59f5a92dffa10d313b3cdf98c9e2ca0edc081f1a..20b52641c0064a248c9719edef9a820a3841f535 100644 |
--- a/webrtc/api/objc/RTCIceServer+Private.h |
+++ b/webrtc/api/objc/RTCVideoSource+Private.h |
@@ -8,20 +8,24 @@ |
* be found in the AUTHORS file in the root of the source tree. |
*/ |
-#import "RTCIceServer.h" |
+#import "RTCVideoSource.h" |
-#include "talk/app/webrtc/peerconnectioninterface.h" |
+#include "talk/app/webrtc/videosourceinterface.h" |
NS_ASSUME_NONNULL_BEGIN |
-@interface RTCIceServer () |
+@interface RTCVideoSource () |
/** |
- * IceServer struct representation of this RTCIceServer object's data. |
- * This is needed to pass to the underlying C++ APIs. |
+ * The VideoSourceInterface object passed to this RTCVideoSource during |
+ * construction. |
*/ |
@property(nonatomic, readonly) |
- webrtc::PeerConnectionInterface::IceServer iceServer; |
+ rtc::scoped_refptr<webrtc::VideoSourceInterface> nativeVideoSource; |
+ |
+/** Initialize an RTCVideoSource from a native VideoSourceInterface. */ |
+- (instancetype)initWithNativeVideoSource: |
+ (rtc::scoped_refptr<webrtc::VideoSourceInterface>)nativeVideoSource; |
tkchin_webrtc
2016/01/11 22:59:08
designated ctor
hjon
2016/01/12 00:25:15
Done.
|
@end |