VIVideoStream
Interface that represents the video streams. It may be used to add or remove video renderers.
Methods
addRenderer:
- (void
)addRenderer:(id<VIRTCVideoRenderer>
)renderer
Add a new video renderer to the video stream. UI elements of VIRTCVideoRenderer type are used to display a local preview or a remote video.
Parameters
renderer:
id<VIRTCVideoRenderer>
New video renderer to be added.
Returns
type:
void
removeAllRenderers
- (void
)removeAllRenderers
Remove all video renderers associated with the video stream.
Returns
type:
void
removeRenderer:
- (void
)removeRenderer:(id<VIRTCVideoRenderer>
)renderer
Remove a previously added video renderer from the video stream. UI elements of VIRTCVideoRenderer type are used to display a local preview or a remote video.
Parameters
renderer:
id<VIRTCVideoRenderer>
Previously added video renderer.
Returns
type:
void
Props
renderers
@property (strong, readonly, nonatomic) NSSet<id<VIRTCVideoRenderer>> *
renderers
The video renderers associated with the stream. UI elements of VIRTCVideoRenderer type are used to display a local preview or a remote video.
Returns
type:
NSSet<id<VIRTCVideoRenderer>> *
streamId
@property (readonly, nonatomic) NSString *
streamId
The video stream id.
Returns
type:
NSString *
type
@property (assign, readonly, nonatomic) type
The video stream type.
Returns
type: