public GetIEPConvAudio ( ) : |
||
return |
public IPEndPoint GetIEPConvAudio()
{
return _iepConvAudio;
}
public void RemoveUserDead() { try { if (!lstUsers.InvokeRequired) { int i; for (i = 0; i < _listUsr.Count; i++) { User tmp = (User)_listUsr[i]; if (tmp.GetIEPConvVideo() == null && tmp.GetIEPConvAudio() == null) { if (!tmp.GetHearBeat()) { lstUsers.Items.Remove(tmp.GetUser()); _listUsr.Remove(tmp); tmp = null; } else { tmp.SetHearBeat(false); } } } } else { RemoveUserDeadCallback d = new RemoveUserDeadCallback(RemoveUserDead); Invoke(d, new object[] { }); } } catch (Exception) { } }