videoMute

View as Markdown

videoMute

  • videoMute(params): Promise<void>

Puts the video of a given member on mute. Participants will see a mute image instead of the video stream.

Parameters

NameTypeDescription
paramsObject-
params.memberIdstringId of the member to mute.

Returns

Promise<void>

Example

1const id = "de550c0c-3fac-4efd-b06f-b5b8614b8966"; // you can get this from getMembers()
2await roomSession.videoMute({ memberId: id });