TWCVideoViewRenderer Class Reference
Inherits from | NSObject |
---|---|
Conforms to | TWCVideoRenderer |
Declared in | TWCVideoViewRenderer.h |
– initWithDelegate:
Creates a video renderer with a delegate.
- (nonnull instancetype)initWithDelegate:(nullable id<TWCVideoViewRendererDelegate>)delegate
Parameters
delegate |
An object implementing the TWCVideoViewRendererDelegate protocol (usually a UIViewController). |
---|
Return Value
A renderer which is appropriate for your device, and OS combination.
Discussion
Creates a video renderer with a delegate.
Declared In
TWCVideoViewRenderer.h
+ rendererWithDelegate:
Creates a video renderer with a delegate.
+ (nonnull TWCVideoViewRenderer *)rendererWithDelegate:(nullable id<TWCVideoViewRendererDelegate>)delegate
Parameters
delegate |
An object implementing the TWCVideoViewRendererDelegate protocol (usually a UIViewController). |
---|
Return Value
A renderer which is appropriate for your device, and OS combination.
Discussion
Creates a video renderer with a delegate.
Declared In
TWCVideoViewRenderer.h
delegate
A delegate which receives callbacks when important renderer events occur.
@property (nonatomic, weak, readonly, nullable) id<TWCVideoViewRendererDelegate> delegate
Discussion
A delegate which receives callbacks when important renderer events occur.
Declared In
TWCVideoViewRenderer.h
hasVideoData
Indicates that at least one frame of video data has been received.
@property (atomic, assign, readonly) BOOL hasVideoData
Discussion
Indicates that at least one frame of video data has been received.
Declared In
TWCVideoViewRenderer.h
view
The renderer’s view. Add this to your view hierarchy to display rendered video content.
@property (nonatomic, strong, readonly, nonnull) UIView *view
Discussion
The renderer’s view. Add this to your view hierarchy to display rendered video content.
Declared In
TWCVideoViewRenderer.h