Index: webrtc/api/objc/RTCVideoSource.mm |
diff --git a/webrtc/api/objc/RTCVideoSource.mm b/webrtc/api/objc/RTCVideoSource.mm |
index 35f30e3b38b02d1f937f0bff2b5f913fd2d9a36c..8e9c39d3ddc02ce6458cb3714f1aebbf14eeef31 100644 |
--- a/webrtc/api/objc/RTCVideoSource.mm |
+++ b/webrtc/api/objc/RTCVideoSource.mm |
@@ -13,7 +13,7 @@ |
#import "webrtc/api/objc/RTCVideoSource+Private.h" |
@implementation RTCVideoSource { |
- rtc::scoped_refptr<webrtc::VideoSourceInterface> _nativeVideoSource; |
+ rtc::scoped_refptr<webrtc::VideoTrackSourceInterface> _nativeVideoSource; |
} |
- (RTCSourceState)state { |
@@ -27,12 +27,12 @@ |
#pragma mark - Private |
-- (rtc::scoped_refptr<webrtc::VideoSourceInterface>)nativeVideoSource { |
+- (rtc::scoped_refptr<webrtc::VideoTrackSourceInterface>)nativeVideoSource { |
return _nativeVideoSource; |
} |
- (instancetype)initWithNativeVideoSource: |
- (rtc::scoped_refptr<webrtc::VideoSourceInterface>)nativeVideoSource { |
+ (rtc::scoped_refptr<webrtc::VideoTrackSourceInterface>)nativeVideoSource { |
NSParameterAssert(nativeVideoSource); |
if (self = [super init]) { |
_nativeVideoSource = nativeVideoSource; |