join

fun 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 with CONNECTING state immediately when the connection begins
  • onMeetingStateChanged — emitted with CONNECTED state when the socket connection is established
  • onMeetingJoined — emitted on the local participant when the meeting is joined
  • onParticipantJoined — emitted for each existing participant already in the room, and on remote participants for the new joiner
  • onStreamEnabled — emitted on the local participant if mic or webcam is enabled on join

Code Example:


meeting.join()