Index: webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoSource.h |
diff --git a/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoSource.h b/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoSource.h |
index e234c3e0896f6d086bcf47312234034ffdd45ba7..96bb6f369973c55ea7345d8528b368fc6cebb4e1 100644 |
--- a/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoSource.h |
+++ b/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoSource.h |
@@ -11,21 +11,12 @@ |
#import <Foundation/Foundation.h> |
#import <WebRTC/RTCMacros.h> |
- |
-typedef NS_ENUM(NSInteger, RTCSourceState) { |
- RTCSourceStateInitializing, |
- RTCSourceStateLive, |
- RTCSourceStateEnded, |
- RTCSourceStateMuted, |
-}; |
+#import <WebRTC/RTCMediaSource.h> |
NS_ASSUME_NONNULL_BEGIN |
RTC_EXPORT |
-@interface RTCVideoSource : NSObject |
- |
-/** The current state of the RTCVideoSource. */ |
-@property(nonatomic, readonly) RTCSourceState state; |
+@interface RTCVideoSource : RTCMediaSource |
- (instancetype)init NS_UNAVAILABLE; |