Speaker Indication - Javascript
Speaker indication feature in VideoSDK let you know, which participant in a meeting is active speaker.
Whenever any participant speaks in meeting, speaker-changed
event will trigger.
For example, the meeting is running with Alice and Bob. Whenever any of them speaks, speaker-changed
event will trigger and return the speaker participantId
.
We can access speaker-changed
event through meeting object.
speaker-changed Event
meeting.on("speaker-changed", (activeSpeakerId) => {
console.log("participantId", activeSpeakerId);
});
Got a Question? Ask us on discord