///<summary> /// OnEndVideo /// Ends the current video ///</summary> private void OnEndVideo() { Logger.Debug("End the video conversation"); conv.RemoveMediaChannel(); ShowVideoControl(false); }
public static void Destroy(Conversation conversation) { lock (lckr) { // Check if a conversation already exists foreach (Conversation c in ConversationManager.conversations) { if (c == conversation) { conversations.Remove (c); break; } } } conversation.RemoveTextChannel (); conversation.RemoveMediaChannel (); }