Meeting Class Events
onMeetingJoined
- This event will be emitted when a localParticipant successfully joined the meeting.
Example
meeting.listeners.onMeetingJoined()
onMeetingLeft
- This event will be emitted when a localParticipant left the meeting.
Example
meeting.listeners.onMeetingLeft()
onParticipantJoined
- This event will be emitted when a new participant joined the meeting.
Event callback parameters
- participant: Participant
Example
meeting.listeners.onParticipantJoined(participant)
onParticipantLeft
- This event will be emitted when a joined participant left the meeting.
Event callback parameters
- participant: Participant
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 participantA
requests to enable mic of participantB
. - 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 participantA
requests to enable webcam of participantB
. - 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()