Set Participant Video Quality - Android
This feature allows participants to set other participant's video quality during the meeting.
Set Quality​
setQuality
method will acceptlow
,med
orhigh
as string parameter.
- Kotlin
- Java
private fun setQuality()
{
val participants: Iterator<Participant> = meeting!!.participants.values.iterator()
for (i in 0 until meeting!!.participants.size) {
val participant = participants.next()
participant.quality = "low"
//or
participant.quality = "med"
//or
participant.quality = "high"
}
}
private void setQuality() {
final Iterator<Participant> participants = meeting.getParticipants().values().iterator();
for (int i = 0; i < meeting.getParticipants().size(); i++) {
Participant participant = participants.next();
participant.setQuality("low");
//or
participant.setQuality("med");
//or
participant.setQuality("high");
}
}
Got a Question? Ask us on discord