Skip to main content
Version: 1.2.x

Meeting Class Events


onMeetingJoined

  • This event will be emitted when a localParticipant successfully joined the meeting.

Example

  meeting.listeners.onMeetingJoined()

onMeetingLeft

Example

meeting.listeners.onMeetingLeft()

onParticipantJoined

  • This event will be emitted when a new participant joined the meeting.

Event callback parameters

Example

meeting.listeners.onParticipantJoined(participant)

onParticipantLeft

  • This event will be emitted when a joined participant left the meeting.

Event callback parameters

Example

meeting.listeners.onParticipantLeft(participant)

onSpeakerChanged

  • This event will be emitted when a active speaker changed.
  • If you want to know which participant is actively speaking, then this event will be used.
  • If no participant is actively speaking, then this event will pass null as en event callback parameter.

Event callback parameters

  • participantId: String?

Example

meeting.listeners.onSpeackerChanged(participantId: participantId)

onMicRequested

  • This event will be emitted to the participant B when any other participant A requests to enable mic of participant B.
  • On accepting the request, mic of participant B will be enabled.

Event callback parameters

  • participantId: String?
  • accept: Closure
  • reject: Closure

Example

meeting.listeners.onMicRequested(participantId: participantId) {
// request accepted
} reject: {
// request rejected
}

onWebcamRequested

  • This event will be emitted to the participant B when any other participant A requests to enable webcam of participant B.
  • On accepting the request, webcam of participant B will be enabled.

Event callback parameters

  • participantId: String?
  • accept: Closure
  • reject: Closure

Example

meeting.listeners.onWebcamRequested(participantId: participantId) {
// request accepted
} reject: {
// request rejected
}

onRecordingStarted

  • This event will be emitted when recording of the meeting is started.

Example

meeting.listeners.onRecordingStarted()

onRecordingStopped

  • This event will be emitted when recording of the meeting is stopped.

Example

meeting.listeners.onRecordingStopped()

onLivestreamStarted

  • This event will be emitted when RTMP live stream of the meeting is started.

Example

meeting.listeners.onLivestreamStarted()

onLivestreamStopped

  • This event will be emitted when RTMP live stream of the meeting is stopped.

Example

meeting.listeners.onLivestreamStopped()