src/net/java/sip/communicator/impl/protocol/sip/OperationSetDesktopSharingServerSipImpl.java
/**
     * Disable desktop remote control. Local desktop stop regenerates keyboard
     * and mouse events received from peer.
     *
     * @param callPeer call peer that will stop controlling on local computer
     */
Disable desktop remote control. Local desktop stop regenerates keyboard
and mouse events received from peer.

@param callPeer call peer that will stop controlling on local computer
Disable desktop remote control . Local desktop stop regenerates keyboard and mouse events received from peer . @param callPeer call peer that will stop controlling on local computer
public void disableRemoteControl(CallPeer callPeer)
    {
        /* unsubscribe */
        try
        {
            Address addr
                = parentProvider.parseAddressString(
                        callPeer.getAddress());
            subscriber.unsubscribe(addr, false);
         }
        catch(ParseException ex)
        {
            logger.error("Failed to parse address", ex);
        }
        catch (OperationFailedException ofe)
        {
            logger.error(
                    "Failed to create or send a remote-control unsubscription",
                    ofe);
            return;
        }
        remoteControlEnabled = false;
    }
public void disableRemoteControl ( CallPeer callPeer ) { /* unsubscribe */ try { Address addr = parentProvider . parseAddressString ( callPeer . getAddress ( ) ) ; subscriber . unsubscribe ( addr , false ) ; } catch ( ParseException ex ) { logger . error ( "Failed to parse address" , ex ) ; } catch ( OperationFailedException ofe ) { logger . error ( "Failed to create or send a remote-control unsubscription" , ofe ) ; return ; } remoteControlEnabled = false ; }
Disable desktop remote control.
Disable desktop remote control .