undeaf
undeaf
- undeaf(
params?):Promise<void>
Unmutes the incoming audio. The affected participant will start hearing audio from the other participants again. You can use this method to undeaf either yourself or another participant in the room.
Note that in addition to allowing a participants to hear the others, this will also automatically unmute the microphone of the target participant (even if there is no audio_unmute permission). If you want, you can then manually mute it by calling audioMute.
Parameters
params
Object containing the parameters of the method.
memberId
Id of the member to affect. If omitted, affects the default device in the local client.
Returns
Promise<void>
Permissions
room.self.deaf: to make yourself deaf.room.member.deaf: to make deaf a remote member.
You need to specify the permissions when creating the Video Room Token on the server side.
Examples
Undeaf yourself:
Undeaf another participant: