How to display the dominant speaker in the primary view in the quickstart application of Android .
https://github.com/twilio/video-quickstart-android/tree/master/quickstart
Thanks & Regards Sylendra
Edit
Added code:
public void OnDominantSpeakerChanged(Room room, RemoteParticipant remoteParticipant) {
if (remoteParticipant!=null) {
if (remoteParticipant.RemoteVideoTracks.Count > 0) {
RemoteVideoTrackPublication remoteVideoTrackPublication = remoteParticipant.RemoteVideoTracks[0];
remoteParticipantIdentity = remoteParticipant.Identity;
AddRemoteParticipantVideo(remoteVideoTrackPublication.RemoteVideoTrack);
}
}
}