LocalVideoStreamManager
Local video stream manager for creating and managing local video streams.
Methods
createStream
Creates a new local video stream with the given source.
Parameters
source:
Local video source
Returns
type:
LocalVideoStream | null
getInstance
Static
Returns
getStream
Returns a local video stream with the given id.
Parameters
streamId:
string
Local video stream id
Returns
type:
LocalVideoStream | null
getStreams
Returns a map of local video streams with their ids.
Returns
type:
Map<string, LocalVideoStream>
removeAllStreams
Removes all local video streams.
Returns
type:
void
removeStream
Removes the local video stream with the given id.
Parameters
streamId:
string
Local video stream id
Returns
type:
void