Renamed VideoSourceInterface to VideoTrackSourceInterface.
Moved VideoSourceInterface to MediaStreamInterface.h
Renamed VideoSourceTest to VideoCapturerTrackSourceTest
Renamed VideoSource to VideoCaptureTrackSource and cl lint and cl format.
BUG=webrtc:5426
TBR=pthatcher@webrtc.org
Review URL: https://codereview.webrtc.org/1770003002 .
Cr-Commit-Position: refs/heads/master@{#11893}
diff --git a/webrtc/api/objc/RTCVideoSource.mm b/webrtc/api/objc/RTCVideoSource.mm
index 35f30e3..8e9c39d 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;