audioMute

View as Markdown

audioMute

  • audioMute(params): Promise<void>

Puts the microphone of a given member on mute. The other participants will not hear audio from the muted participant anymore.

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.audioMute({ memberId: id });