Quality | Description |
unknown | Unperceived |
excellent | The present network is exceedingly good |
good | The current network is fairly good |
poor | Current network is average |
bad | Present network quality is poor, it might cause noticeable stutters and communication delays |
vBad | The current network conditions are abysmal, TRTC can barely maintain a connection, yet it can't guarantee the quality of communication |
down | The current network does not meet the minimum requirements of TRTC, obstructing the normal audio and video conversation |
TRTCCloudListener(onNetworkQuality: (localQuality, remoteQuality) {switch(localQuality.quality) {case TRTCQuality.unknown://TODO: Handle this case.break;case TRTCQuality.excellent:// TODO:Handle this casebreak;case TRTCQuality.good:// TODO: Handle this case.break;case TRTCQuality.poor:// TODO: Handle this case.break;case TRTCQuality.bad:// TODO: Handle this case.break;case TRTCQuality.vBad:// TODO: Handle this case.break;case TRTCQuality.down:// TODO: Handle this case.break;}for (TRTCQualityInfo info in remoteQuality) {// TODO: Handle this case.}});
Feedback