Skip to main content

activeSpeaker

activeSpeaker event is emitted whenever a participant is speaking in the meeting

This event is emitted to all other participants in the meeting when a participants speaks in the meeting.

JavaScript
meeting.on("activeSpeaker", function(speakerInfo) {
console.log("activeSpeaker", speakerInfo);
});

Properties

speakerInfo is an object that contains the following properties:

PropertiesDescriptionType
streamIdstreamId to which the event belongs tostring
meetingSessionIdid of the current meeting sessionstring
nameusername of the user who is speakingstring
roomIdid of the current meeting roomstring
participantSessionIdparticipant session id of the user who is speakingstring
volumeLevelvolume level of the speaker, value is between -128 to 0, with -128 being the minimum and 0 being the maximumnumber