src/net/java/sip/communicator/impl/protocol/jabber/OperationSetDesktopStreamingJabberImpl.java
/**
     * Check if the remote part supports Jingle video.
     *
     * @param calleeAddress Contact address
     * @param videoDevice <tt>MediaDevice</tt> used
     * @return true if contact support Jingle video, false otherwise
     *
     * @throws OperationFailedException with the corresponding code if we fail
     * to create the video call.
     */
Check if the remote part supports Jingle video.
@param calleeAddress Contact address
@param videoDevice MediaDevice used
@return true if contact support Jingle video, false otherwise

@throws OperationFailedException with the corresponding code if we fail
to create the video call.
Check if the remote part supports Jingle video . @param calleeAddress Contact address @param videoDevice MediaDevice used @return true if contact support Jingle video false otherwise @throws OperationFailedException with the corresponding code if we fail to create the video call .
protected Call createOutgoingVideoCall(String calleeAddress,
                                           MediaDevice videoDevice)
        throws OperationFailedException
    {
        if (parentProvider.getConnection() == null)
        {
            throw new OperationFailedException(
                    "Failed to create OutgoingJingleSession.\n"
                    + "we don't have a valid XMPPConnection."
                    , OperationFailedException.INTERNAL_ERROR);
        }
        CallJabberImpl call = new CallJabberImpl(basicTelephony);
        MediaUseCase useCase = getMediaUseCase();
        /* enable video */
        if (videoDevice != null)
            call.setVideoDevice(videoDevice, useCase);
        call.setLocalVideoAllowed(true, useCase);
        basicTelephony.createOutgoingCall(call, calleeAddress);
        origin = getOriginForMediaDevice(videoDevice);
        return call;
    }
protected Call createOutgoingVideoCall ( String calleeAddress , MediaDevice videoDevice ) throws OperationFailedException { if ( parentProvider . getConnection ( ) == null ) { throw new OperationFailedException ( "Failed to create OutgoingJingleSession.\n" + "we don't have a valid XMPPConnection." , OperationFailedException . INTERNAL_ERROR ) ; } CallJabberImpl call = new CallJabberImpl ( basicTelephony ) ; MediaUseCase useCase = getMediaUseCase ( ) ; /* enable video */ if ( videoDevice != null ) call . setVideoDevice ( videoDevice , useCase ) ; call . setLocalVideoAllowed ( true , useCase ) ; basicTelephony . createOutgoingCall ( call , calleeAddress ) ; origin = getOriginForMediaDevice ( videoDevice ) ; return call ; }
Check if the remote part supports Jingle video.
Check if the remote part supports Jingle video .