undeaf
undeaf
- undeaf(
params):Promise<void>
Unmutes the incoming audio for a given member. The affected participant will start hearing audio from the other participants again.
Note that in addition to allowing a participants to hear the others, this will also automatically unmute the microphone of the target participant. 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.
Returns
Promise<void>
Example
In this example, we mute a member when they join the room, and then unmute them after 5 seconds.
This example assumes that there is a RoomSession already active and users are joining it.