Rate this page:

StreamManager

Interface for extended management of local audio/video streams.

Methods

getLocalMediaRenderers

Copy URL
getLocalMediaRenderers(): 

MediaRenderer[]

List of currently used containers for local audio and video streams.

Returns

hideLocalVideo

Copy URL
hideLocalVideo(): 

Promise<void>

Turn off local video. Use the showLocalVideo method to turn on local video.

Returns

  • type:

    Promise<void>

showLocalVideo

Copy URL
showLocalVideo(placeOnDom: 

boolean

):

Promise<MediaRenderer>

Turn on local video. The container for local video elements must be specified via in the Config.localVideoContainerIdfield in the Client.initconfig. If it's not specified, local videos will be appended to end of the element. Use the hideLocalVideo method to turn off local video.

Parameters

  • placeOnDom:

    boolean

    Defaults on:  true

Returns

get

Copy URL
get(): 

StreamManager

Get the StreamManager instance

Returns