videoUnmute
videoUnmute
- videoUnmute(
params):Promise<void>
Unmutes the video of a given member if it had been previously muted. Participants will start seeing the video stream again.
Parameters
params
Object containing the parameters of the method.
memberId
ID of the member to unmute.
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.
After 5 seconds, we unmute the video of that member.
This example assumes that there is a RoomSession
already active and that members are joining the room.