| Index: webrtc/api/objc/RTCVideoRendererAdapter.h
|
| diff --git a/webrtc/api/objc/RTCVideoSource.h b/webrtc/api/objc/RTCVideoRendererAdapter.h
|
| similarity index 63%
|
| copy from webrtc/api/objc/RTCVideoSource.h
|
| copy to webrtc/api/objc/RTCVideoRendererAdapter.h
|
| index a98fa6c6bba626c52ea4331bb1b3d4d6bd0bd1a9..434a61b2bd0c8f86d04f733045262d4303fd8f84 100644
|
| --- a/webrtc/api/objc/RTCVideoSource.h
|
| +++ b/webrtc/api/objc/RTCVideoRendererAdapter.h
|
| @@ -10,19 +10,15 @@
|
|
|
| #import <Foundation/Foundation.h>
|
|
|
| -typedef NS_ENUM(NSInteger, RTCSourceState) {
|
| - RTCSourceStateInitializing,
|
| - RTCSourceStateLive,
|
| - RTCSourceStateEnded,
|
| - RTCSourceStateMuted,
|
| -};
|
| -
|
| NS_ASSUME_NONNULL_BEGIN
|
|
|
| -@interface RTCVideoSource : NSObject
|
| -
|
| -/** The current state of the RTCVideoSource. */
|
| -@property(nonatomic, readonly) RTCSourceState state;
|
| +/*
|
| + * Creates a webrtc::VideoRendererInterface surface for an RTCVideoRenderer. The
|
| + * webrtc::VideoRendererInterface is used by WebRTC rendering code - this
|
| + * adapter adapts calls made to that interface to the RTCVideoRenderer supplied
|
| + * during construction.
|
| + */
|
| +@interface RTCVideoRendererAdapter : NSObject
|
|
|
| - (instancetype)init NS_UNAVAILABLE;
|
|
|
|
|