Skip to main content

DyteMeeting.Events

DyteMeeting.Events is an enum that enumerates different events that can occur in between a meeting.

DyteMeeting.Events {
connect,
meetingJoined,
disconnect,
meetingEnded,
participantJoin,
participantLeave,
chatMessage,
roomMessage,
message,
activeSpeaker,
recordingStarted,
recordingStopped,
localMediaConnected
}
EventTriggered when
connectthe participant has connected to the meeting but hasn’t started producing or consuming content streams - think of this as establishing a successful connection to the meeting and nothing else
meetingJoinedthe participant actually joins the meeting, and can start producing as well as consuming content streams
disconnectthe participant gets disconnected from the meeting for any reason
meetingEndedthe meeting is ended by the host or by the organization (as an admin function)
participantJoinanother participant joins the meeting ("join" here as the same context as the meetingJoined event)
participantLeaveanother participant disconnects from the meeting ("disconnect" here as the same context as the disconnect event)
chatMessagethe participant receives a chat message
roomMessagea custom message is broadcast to all participants in the meeting
messagea custom message is targeted to a particular participant in the meeting and only the target participant receives this event
activeSpeakerthe active speaker in the meeting changes - active speaker is the participant whose audio level has most recently been the highest (kind of like LRU with the selection factor being audio level)
recordingStarteda recording of the meeting is started by the host or by the organization (as an admin function)
recordingStoppeda recording of the meeting is stopped by the host or by the organization (as an admin function)
localMediaConnectedthe participant's local media input devices (camera, mic) are initialized and connected to the meeting for the first time