join
This method can be used to join the meeting.
After successfully joining, the local participant will receive onMeetingJoined and remote participants will receive onParticipantJoined.
Events:
onMeetingStateChanged— emitted withCONNECTINGstate immediately when the connection beginsonMeetingStateChanged— emitted withCONNECTEDstate when the socket connection is establishedonMeetingJoined— emitted on the local participant when the meeting is joinedonParticipantJoined— emitted for each existing participant already in the room, and on remote participants for the new joineronStreamEnabled— emitted on the local participant if mic or webcam is enabled on join
Code Example:
meeting.join()
Content copied to clipboard