videoMute
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
params
Object containing the parameters of the method.
memberId
ID of the member to mute.
Returns
Promise<void>
Example
In this example, we wait for a room to start and then wait for a second member to join the room.
When a second member joins the room, we mute the video of that member.
This example assumes that there is a RoomSession
already active and that members are joining the room.