LocalVideoStream
Class that represents a local video stream.
Inherits from VideoStream class.
Constructors
LocalVideoStream
The video source for the local video stream
Parameters
videoSource:
The video source for the local video stream
Methods
addVideoRenderer
Adds a new videoSink to the video stream.
Parameters
videoSink:
VideoSink
SurfaceViewRendererorTextureViewRendererscaleType:
The scale type to be applied to the video renderer
callback:
The callback which is invoked once the video renderer is started or failed to start.
Returns
type:
Unit
removeAllVideoRenderers
Removes all video renderers for the video stream
Returns
type:
Unit
removeVideoRenderer
Removes the previously added videoSink.
Parameters
videoSink:
VideoSink
SurfaceViewRendererorTextureViewRenderer
Returns
type:
Unit
toString
Returns
type:
String