src/net/java/sip/communicator/impl/protocol/jabber/OperationSetDesktopSharingServerJabberImpl.java
/**
     * Enable desktop remote control. Local desktop can now regenerates keyboard
     * and mouse events received from peer.
     *
     * @param callPeer call peer that will take control on local computer
     */
Enable desktop remote control. Local desktop can now regenerates keyboard
and mouse events received from peer.

@param callPeer call peer that will take control on local computer
Enable desktop remote control . Local desktop can now regenerates keyboard and mouse events received from peer . @param callPeer call peer that will take control on local computer
public void enableRemoteControl(CallPeer callPeer)
    {
        callPeer.addCallPeerListener(callPeerListener);
        size = (((VideoMediaFormat)((CallJabberImpl)callPeer.getCall())
            .getDefaultDevice(MediaType.VIDEO).getFormat()).getSize());
        this.modifyRemoteControl(callPeer, true);
    }
public void enableRemoteControl ( CallPeer callPeer ) { callPeer . addCallPeerListener ( callPeerListener ) ; size = ( ( ( VideoMediaFormat ) ( ( CallJabberImpl ) callPeer . getCall ( ) ) . getDefaultDevice ( MediaType . VIDEO ) . getFormat ( ) ) . getSize ( ) ) ; this . modifyRemoteControl ( callPeer , true ) ; }
Enable desktop remote control.
Enable desktop remote control .