videoMute
videoMute
- videoMute(
params?):Promise<void>
Puts the video on mute. Participants will see a mute image instead of the video stream. You can use this method to mute either yourself or another participant in the room.
Parameters
params
Object containing the parameters of the method.
memberId
Id of the member to mute. If omitted, mutes the default device in the local client.
Returns
Promise<void>
Permissions
room.self.video_mute: to unmute a local device.room.member.video_mute: to unmute a remote member.
You need to specify the permissions when creating the Video Room Token on the server side.
Examples
Muting your own video:
Muting the video of another participant: