-
-
Save sendbird-community/5b735eca8c177b3a77c45c057e133461 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async function enterRoom () { | |
//A Sendbird websocket is required in order to listen for real time updates from other Group Call participants. | |
await SendBirdCall.connectWebSocket() | |
const room = await SendBirdCall.fetchRoomById(roomId) | |
const enterParams = {videoEnabled: false, audioEnabled: true}; | |
await room.enter(enterParams); | |
addSendbirdCallsListener(room) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment