Index: webrtc/api/objc/RTCMediaSource+Private.h |
diff --git a/webrtc/api/objc/RTCMediaSource+Private.h b/webrtc/api/objc/RTCMediaSource+Private.h |
index fcbaad8e4587a6d426dd51eb0a0e0b945f5c2b19..55f483a090e6e9b00ac6b2ba16644713e6e6a888 100644 |
--- a/webrtc/api/objc/RTCMediaSource+Private.h |
+++ b/webrtc/api/objc/RTCMediaSource+Private.h |
@@ -11,6 +11,7 @@ |
#import "RTCMediaSource.h" |
#include "talk/app/webrtc/mediastreaminterface.h" |
+#include "talk/app/webrtc/videosourceinterface.h" |
NS_ASSUME_NONNULL_BEGIN |
@@ -23,10 +24,12 @@ NS_ASSUME_NONNULL_BEGIN |
@property(nonatomic, readonly) |
rtc::scoped_refptr<webrtc::MediaSourceInterface> nativeMediaSource; |
-/** Initialize an RTCMediaSource from a native MediaSourceInterface. */ |
-- (instancetype)initWithNativeMediaSource: |
- (rtc::scoped_refptr<webrtc::MediaSourceInterface>)nativeMediaSource |
- NS_DESIGNATED_INITIALIZER; |
+/** |
+ * If this is an RTCVideoSource instance, the VideoSourceInterface object passed |
+ * in during construction. |
+ */ |
+@property(nonatomic, readonly) |
+ rtc::scoped_refptr<webrtc::VideoSourceInterface> nativeVideoSource; |
tkchin_webrtc
2016/01/13 02:26:27
this shouldn't be here - only in RTCVideoSource
hjon
2016/01/13 18:07:00
Done.
|
+ (webrtc::MediaSourceInterface::SourceState)nativeSourceStateForState: |
(RTCSourceState)state; |