updateUserVideoState method
void
updateUserVideoState(})
Implementation
void updateUserVideoState(String userId, bool hasVideo,
TUIChangeReason reason, RxList<UserModel> destList,
{bool? isScreenStream}) {
var index = getUserIndex(userId, destList);
if (index == -1) {
return;
}
if (isScreenStream == true) {
destList[index].hasScreenStream.value = hasVideo;
} else {
destList[index].hasVideoStream.value = hasVideo;
}
}