on Video Quality Changed
open fun onVideoQualityChanged(participantId: String, prevQuality: VideoQuality, currentQuality: VideoQuality)
Called when the quality of this participant's camera that this device receives changes — the server switched to another simulcast layer, after Participant.setQuality, a viewport change or a change in bandwidth.
Reported only for a camera sent in several layers; a single-layer camera has one quality and never calls this.
Parameters
participant Id
the participant whose camera changed quality.
prev Quality
the quality received before the change.
current Quality
the quality received now.