Users can enter a room by using a room ID. When a user enters a room, the user is assigned a unique Participant ID and a participant is created.
To enter a room, you should fetch the
room instance from the Sendbird server using the room ID. You can fetch the most up-to-date
room instance from the Sendbird server using the
SendbirdCall.FetchRoomById() method. Alternatively, you can use the
SendbirdCall.GetCachedRoomById() method to retrieve the most recently cached
room instance from the Calls SDK.
Note: A user can enter a room using multiple devices or browser tabs. Entering from each device or browser tab creates a new participant for the user.
After retrieving the room, call the
SbRoom.Enter() method to enter the room.
To exit a room, use the