Skip to main content
Version: 0.1.x

Speaker Indication - Android

Speaker indication feature in VideoSDK let you know, which participant is active speaker in a meeting.

Whenever any participant speaks in meeting, onSpeakerChanged event will trigger.

For example, the meeting is running with Alice and Bob. Whenever any of them speaks, onSpeakerChanged event will trigger and return the speaker participantId.

We can access onSpeakerChanged event through meeting object.

onSpeakerChanged Event

private val meetingEventListener: MeetingEventListener = object : MeetingEventListener() {
// ...
override fun onSpeakerChanged(participantId: String?) {
Toast.makeText(this@MainActivity, "active Speaker Id" + participantId, Toast.LENGTH_SHORT).show();
super.onSpeakerChanged(participantId)
}
};

Got a Question? Ask us on discord


Was this helpful?