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