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

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: Update comment 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
« webrtc/api/objc/RTCVideoSource.mm ('K') | « webrtc/api/objc/RTCVideoSource.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« webrtc/api/objc/RTCVideoSource.mm ('K') | « webrtc/api/objc/RTCVideoSource.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698