Set Participant Video Quality - Android
This feature allows participants to set other participant's video quality during the meeting.
info
MultiStream is not supported by the Android SDK. Use customTrack
instead of setQuality()
 if you want to change participant's quality who joined using our Android SDK.
To know more about customTrack visit here
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