src/net/java/sip/communicator/impl/protocol/sip/OperationSetDesktopStreamingSipImpl.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)
    {
        CallSipImpl callImpl = (CallSipImpl)call;
        VideoMediaStream videoStream = (VideoMediaStream)
            callImpl.getCallPeers().next().getMediaHandler().getStream(
                MediaType.VIDEO);
        if(videoStream != null)
        {
            videoStream.movePartialDesktopStreaming(x, y);
            if(origin != null)
            {
                origin.x = x;
                origin.y = y;
            }
            else
            {
                origin = new Point(x, y);
            }
        }
    }
public void movePartialDesktopStreaming ( Call call , int x , int y ) { CallSipImpl callImpl = ( CallSipImpl ) call ; VideoMediaStream videoStream = ( VideoMediaStream ) callImpl . getCallPeers ( ) . next ( ) . getMediaHandler ( ) . getStream ( MediaType . VIDEO ) ; if ( videoStream != null ) { videoStream . movePartialDesktopStreaming ( x , y ) ; if ( origin != null ) { origin . x = x ; origin . y = y ; } else { origin = new Point ( x , y ) ; } } }
Move origin of a partial desktop streaming.
Move origin of a partial desktop streaming .