MillicastSDK 2.0.0
|
#import <accelerated_video_renderer.h>
Instance Methods | |
(nonnull instancetype) | - init |
Initializes the accelerated video renderer. | |
(nonnull instancetype) | - initWithColorRangeExpansion: |
Instance Methods inherited from <MCVideoRenderer> | |
(void) | - didReceiveFrame: |
Properties | |
id< MCAcceleratedVideoRendererDelegate > _Nullable | delegate |
Delegate that can be used to receive information about video frame properties. | |
CGSize | videoSize |
The size of the last video frame received. | |
Class that renders video frames in a UIView
or NSView
.
Attach this class to an MCAcceleratedVideoUIView
, MCAcceleratedVideoNSView
or MCVideoSwiftUIView
to render onto a View.
This class being an MCVideoRenderer
can be attached to a MCVideoTrack
, MCRTSRemoteVideoTrack
or MCWebrtcRemoteVideoTrack
to receive video frames.
- (nonnull instancetype) init |
Initializes the accelerated video renderer.
- (nonnull instancetype) initWithColorRangeExpansion: | (BOOL) | enable |
Initializes with the option of expanding limited color range to the full range upon rendering.
|
readwritenonatomicweak |
Delegate that can be used to receive information about video frame properties.
|
readatomicassign |
The size of the last video frame received.