src/net/java/sip/communicator/impl/protocol/sip/OperationSetDesktopStreamingSipImpl.java
/**
     * Create a new video call and invite the specified CallPeer to it.
     *
     * @param callee the address of the callee that we should invite to a new
     * call.
     * @return CallPeer the CallPeer that will represented by the
     * specified uri. All following state change events will be delivered
     * through that call peer. The Call that this peer is a member
     * of could be retrieved from the CallParticipatn instance with the use
     * of the corresponding method.
     * @throws OperationFailedException with the corresponding code if we fail
     * to create the video call.
     */
Create a new video call and invite the specified CallPeer to it.
@param callee the address of the callee that we should invite to a new
call.
@return CallPeer the CallPeer that will represented by the
specified uri. All following state change events will be delivered
through that call peer. The Call that this peer is a member
of could be retrieved from the CallParticipatn instance with the use
of the corresponding method.
@throws OperationFailedException with the corresponding code if we fail
to create the video call.
Create a new video call and invite the specified CallPeer to it . @param callee the address of the callee that we should invite to a new call . @return CallPeer the CallPeer that will represented by the specified uri . All following state change events will be delivered through that call peer . The Call that this peer is a member of could be retrieved from the CallParticipatn instance with the use of the corresponding method . @throws OperationFailedException with the corresponding code if we fail to create the video call .
@Override
    public Call createVideoCall(Contact callee) throws OperationFailedException
    {
        CallSipImpl call = (CallSipImpl) super.createVideoCall(callee);
        MediaDevice device = call.getDefaultDevice(MediaType.VIDEO);
        size = (((VideoMediaFormat)device.getFormat()).getSize());
        origin = getOriginForMediaDevice(device);
        return call;
    }
@ Override public Call createVideoCall ( Contact callee ) throws OperationFailedException { CallSipImpl call = ( CallSipImpl ) super . createVideoCall ( callee ) ; MediaDevice device = call . getDefaultDevice ( MediaType . VIDEO ) ; size = ( ( ( VideoMediaFormat ) device . getFormat ( ) ) . getSize ( ) ) ; origin = getOriginForMediaDevice ( device ) ; return call ; }
Create a new video call and invite the specified CallPeer to it.
Create a new video call and invite the specified CallPeer to it .