unlock
unlock
- unlock():
Promise<void>
Unlocks the room if it had been previously locked. This allows new participants to join the room.
Returns
Promise<void>
Example
In this example, we lock a room when it starts and then unlock it after 20 seconds.
This example assumes that there is a RoomSession already active and users are joining it.