From d72d64b136110ecd15d1b035eaefb627e9752190 Mon Sep 17 00:00:00 2001 From: Sebastien Vincent Date: Mon, 21 Feb 2011 17:57:06 +0000 Subject: [PATCH] Do not stop current video when we switch to desktop sharing (or vice-versa) as starting desktop sharing will trigger new session that closes and releases stuff from previous session. --- .../java/sip/communicator/impl/gui/main/call/CallManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/net/java/sip/communicator/impl/gui/main/call/CallManager.java b/src/net/java/sip/communicator/impl/gui/main/call/CallManager.java index 9c2b03dd1..c92a9e891 100644 --- a/src/net/java/sip/communicator/impl/gui/main/call/CallManager.java +++ b/src/net/java/sip/communicator/impl/gui/main/call/CallManager.java @@ -259,7 +259,7 @@ public static void enableLocalVideo(Call call, boolean enable) { // First disable desktop sharing if it's currently enabled. if (enable && isDesktopSharingEnabled(call)) - enableDesktopSharing(call, false); + getActiveCallContainer(call).setDesktopSharingButtonSelected(false); try { @@ -556,7 +556,7 @@ private static void enableDesktopSharing(Call call, // First make sure to disable the local video if it's currently // enabled. if (enable && isLocalVideoEnabled(call)) - enableLocalVideo(call, false); + getActiveCallContainer(call).setVideoButtonSelected(false); try {