Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(147)

Unified Diff: webrtc/api/objc/RTCVideoSource+Private.h

Issue 1546783002: Move RTCVideoSource to webrtc/api/objc. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@updateRTCMediaSource
Patch Set: Changes based on feedback Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
« webrtc/api/objc/RTCMediaSource+Private.h ('K') | « webrtc/api/objc/RTCVideoSource.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698