onVideoUpgraded method
Handle case when remote side requested to start send/receive video and request accepted.
Implementation
void onVideoUpgraded(int callId, bool withVideo) {
_logs?.print('onVideoUpgraded callId:$callId withVideo:$withVideo');
int index = _callItems.indexWhere((c) => c.myCallId==callId);
if(index == -1) return;
bool isUpgradeModeRecvOnly = _accountsModel.isUpgradeToVideoModeRecvOnly(_callItems[index].accUri);
_callItems[index].onVideoUpgraded(withVideo, isUpgradeModeRecvOnly);
}