Index: webrtc/api/objc/RTCVideoSource+Private.h |
diff --git a/webrtc/api/objc/RTCVideoFrame+Private.h b/webrtc/api/objc/RTCVideoSource+Private.h |
similarity index 62% |
copy from webrtc/api/objc/RTCVideoFrame+Private.h |
copy to webrtc/api/objc/RTCVideoSource+Private.h |
index 954344aee1b9c2095f03277bc1cc4a800e35e1a9..61e18566270d4ca199f593ded12b6547b1d3d619 100644 |
--- a/webrtc/api/objc/RTCVideoFrame+Private.h |
+++ b/webrtc/api/objc/RTCVideoSource+Private.h |
@@ -8,15 +8,17 @@ |
* be found in the AUTHORS file in the root of the source tree. |
*/ |
-#import "RTCVideoFrame.h" |
+#import "RTCVideoSource.h" |
-#include "talk/media/base/videoframe.h" |
+#include "talk/app/webrtc/videosourceinterface.h" |
NS_ASSUME_NONNULL_BEGIN |
-@interface RTCVideoFrame () |
+@interface RTCVideoSource () |
-- (instancetype)initWithNativeFrame:(const cricket::VideoFrame *)nativeFrame |
+/** Initialize an RTCVideoSource from a native VideoSourceInterface. */ |
+- (instancetype)initWithNativeVideoSource: |
+ (rtc::scoped_refptr<webrtc::VideoSourceInterface>)nativeVideoSource |
NS_DESIGNATED_INITIALIZER; |
@end |