end

fun end()

This method can be used to end the meeting for all participants.

After ending, all participants (including the local participant) will receive onMeetingLeft.

Events:

  • onStreamDisabled — emitted on each participant for their active streams
  • onMeetingLeft — emitted on all participants when the meeting is ended

Code Example:


meeting.end()