| Index: webrtc/sdk/objc/Framework/Classes/RTCVideoSource+Private.h
|
| diff --git a/webrtc/sdk/objc/Framework/Classes/RTCVideoSource+Private.h b/webrtc/sdk/objc/Framework/Classes/RTCVideoSource+Private.h
|
| index 757c1746ef76e2667aed38e19d0420e38571803c..df091a27505edcf47b8787c9c03ab3cb308bf180 100644
|
| --- a/webrtc/sdk/objc/Framework/Classes/RTCVideoSource+Private.h
|
| +++ b/webrtc/sdk/objc/Framework/Classes/RTCVideoSource+Private.h
|
| @@ -10,6 +10,8 @@
|
|
|
| #import "WebRTC/RTCVideoSource.h"
|
|
|
| +#import "RTCMediaSource+Private.h"
|
| +
|
| #include "webrtc/api/mediastreaminterface.h"
|
|
|
| NS_ASSUME_NONNULL_BEGIN
|
| @@ -24,19 +26,15 @@ NS_ASSUME_NONNULL_BEGIN
|
| rtc::scoped_refptr<webrtc::VideoTrackSourceInterface>
|
| nativeVideoSource;
|
|
|
| +- (instancetype)initWithNativeMediaSource:
|
| + (rtc::scoped_refptr<webrtc::MediaSourceInterface>)nativeMediaSource
|
| + type:(RTCMediaSourceType)type NS_UNAVAILABLE;
|
| +
|
| /** Initialize an RTCVideoSource from a native VideoTrackSourceInterface. */
|
| - (instancetype)initWithNativeVideoSource:
|
| (rtc::scoped_refptr<webrtc::VideoTrackSourceInterface>)nativeVideoSource
|
| NS_DESIGNATED_INITIALIZER;
|
|
|
| -+ (webrtc::MediaSourceInterface::SourceState)nativeSourceStateForState:
|
| - (RTCSourceState)state;
|
| -
|
| -+ (RTCSourceState)sourceStateForNativeState:
|
| - (webrtc::MediaSourceInterface::SourceState)nativeState;
|
| -
|
| -+ (NSString *)stringForState:(RTCSourceState)state;
|
| -
|
| @end
|
|
|
| NS_ASSUME_NONNULL_END
|
|
|