removeMember
removeMember
- removeMember(
params):Promise<void>
Removes a specific participant from the room.
Parameters
params
Object containing the parameters of the method.
memberId
ID of the member to remove.
Returns
Promise<void>
Example
In this example, we wait for a room to start and then remove the second member
that joins the room after 5 seconds. This example assumes that there is a RoomSession
already active and that members are joining the room.