| Index: webrtc/api/objc/RTCVideoSource+Private.h
|
| diff --git a/webrtc/api/objc/RTCMediaSource+Private.h b/webrtc/api/objc/RTCVideoSource+Private.h
|
| similarity index 66%
|
| rename from webrtc/api/objc/RTCMediaSource+Private.h
|
| rename to webrtc/api/objc/RTCVideoSource+Private.h
|
| index fcbaad8e4587a6d426dd51eb0a0e0b945f5c2b19..2300848610b6dd9b2fbd3c8b50b20bd350a1cb58 100644
|
| --- a/webrtc/api/objc/RTCMediaSource+Private.h
|
| +++ b/webrtc/api/objc/RTCVideoSource+Private.h
|
| @@ -8,24 +8,24 @@
|
| * be found in the AUTHORS file in the root of the source tree.
|
| */
|
|
|
| -#import "RTCMediaSource.h"
|
| +#import "RTCVideoSource.h"
|
|
|
| -#include "talk/app/webrtc/mediastreaminterface.h"
|
| +#include "talk/app/webrtc/videosourceinterface.h"
|
|
|
| NS_ASSUME_NONNULL_BEGIN
|
|
|
| -@interface RTCMediaSource ()
|
| +@interface RTCVideoSource ()
|
|
|
| /**
|
| - * The MediaSourceInterface object passed to this RTCMediaSource during
|
| + * The VideoSourceInterface object passed to this RTCVideoSource during
|
| * construction.
|
| */
|
| @property(nonatomic, readonly)
|
| - rtc::scoped_refptr<webrtc::MediaSourceInterface> nativeMediaSource;
|
| + rtc::scoped_refptr<webrtc::VideoSourceInterface> nativeVideoSource;
|
|
|
| -/** Initialize an RTCMediaSource from a native MediaSourceInterface. */
|
| -- (instancetype)initWithNativeMediaSource:
|
| - (rtc::scoped_refptr<webrtc::MediaSourceInterface>)nativeMediaSource
|
| +/** Initialize an RTCVideoSource from a native VideoSourceInterface. */
|
| +- (instancetype)initWithNativeVideoSource:
|
| + (rtc::scoped_refptr<webrtc::VideoSourceInterface>)nativeVideoSource
|
| NS_DESIGNATED_INITIALIZER;
|
|
|
| + (webrtc::MediaSourceInterface::SourceState)nativeSourceStateForState:
|
|
|