src/net/java/sip/communicator/impl/protocol/jabber/OperationSetDesktopStreamingJabberImpl.java
/**
     * Move origin of a partial desktop streaming.
     *
     * @param call the <tt>Call</tt> whose video transmission properties we are
     * interested in.
     * @param x new x coordinate origin
     * @param y new y coordinate origin
     */
Move origin of a partial desktop streaming.
@param call the Call whose video transmission properties we are
interested in.
@param x new x coordinate origin
@param y new y coordinate origin
Move origin of a partial desktop streaming . @param call the Call whose video transmission properties we are interested in . @param x new x coordinate origin @param y new y coordinate origin
public void movePartialDesktopStreaming(Call call, int x, int y)
    {
        CallJabberImpl callImpl = (CallJabberImpl) call;
        CallPeerJabberImpl callPeerImpl = callImpl.getCallPeers().next();
        VideoMediaStream videoStream
            = (VideoMediaStream)
                callPeerImpl.getMediaHandler().getStream(MediaType.VIDEO);
        if(origin != null)
        {
            origin.x = x;
            origin.y = y;
        }
        else
        {
            origin = new Point(x, y);
        }
        if(videoStream != null)
        {
            videoStream.movePartialDesktopStreaming(x, y);
        }
    }
public void movePartialDesktopStreaming ( Call call , int x , int y ) { CallJabberImpl callImpl = ( CallJabberImpl ) call ; CallPeerJabberImpl callPeerImpl = callImpl . getCallPeers ( ) . next ( ) ; VideoMediaStream videoStream = ( VideoMediaStream ) callPeerImpl . getMediaHandler ( ) . getStream ( MediaType . VIDEO ) ; if ( origin != null ) { origin . x = x ; origin . y = y ; } else { origin = new Point ( x , y ) ; } if ( videoStream != null ) { videoStream . movePartialDesktopStreaming ( x , y ) ; } }
Move origin of a partial desktop streaming.
Move origin of a partial desktop streaming .