Rate this page:

LocalVideoStreamManager

Local video stream manager for creating and managing local video streams.

Methods

createStream
Copy URL

Creates a new local video stream with the given source.

Parameters

Returns

getInstance
Static
Copy URL
getStream
Copy URL

Returns a local video stream with the given id.

Parameters

  • streamId:

    string

    Local video stream id

Returns

getStreams
Copy URL

Returns a map of local video streams with their ids.

Returns

removeAllStreams
Copy URL

Removes all local video streams.

Returns

  • type:

    void

removeStream
Copy URL

Removes the local video stream with the given id.

Parameters

  • streamId:

    string

    Local video stream id

Returns

  • type:

    void

Rate this page: