private void Init(Account account, ProviderUser providerUser) { this.account = account; this.tlpConnection = this.account.TlpConnection; this.peerUser = providerUser; this.callType = CallType.None; this.messages = new List <Message> (); this.last = 999; this.videoStreams = new Dictionary <uint, uint> (); this.audioStreams = new Dictionary <uint, uint> (); this.peerUser.PresenceUpdated += OnPeerPresenceUpdated; this.lastPeerPresence = this.peerUser.Presence; this.inRemoveMedia = false; //hack }
private void Init(Account account, ProviderUser providerUser) { this.account = account; this.tlpConnection = this.account.TlpConnection; this.peerUser = providerUser; this.callType = CallType.None; this.messages = new List<Message> (); this.last = 999; this.videoStreams = new Dictionary<uint,uint> (); this.audioStreams = new Dictionary<uint,uint> (); this.peerUser.PresenceUpdated += OnPeerPresenceUpdated; this.lastPeerPresence = this.peerUser.Presence; this.inRemoveMedia = false; //hack }