src/net/java/sip/communicator/impl/protocol/sip/CallPeerMediaHandlerSipImpl.java
/**
     * Creates a session description <tt>String</tt> representing the
     * <tt>MediaStream</tt>s that this <tt>MediaHandler</tt> is prepared to
     * exchange. The offer takes into account user preferences such as whether
     * or not local user would be transmitting video, whether any or all streams
     * are put on hold, etc. The method is also taking into account any previous
     * offers that this handler may have previously issues hence making the
     * newly generated <tt>String</tt> an session creation or a session update
     * offer accordingly.
     *
     * @return an SDP description <tt>String</tt> representing the streams that
     * this handler is prepared to initiate.
     *
     * @throws OperationFailedException if creating the SDP fails for some
     * reason.
     */
Creates a session description String representing the
MediaStreams that this MediaHandler is prepared to
exchange. The offer takes into account user preferences such as whether
or not local user would be transmitting video, whether any or all streams
are put on hold, etc. The method is also taking into account any previous
offers that this handler may have previously issues hence making the
newly generated String an session creation or a session update
offer accordingly.

@return an SDP description String representing the streams that
this handler is prepared to initiate.

@throws OperationFailedException if creating the SDP fails for some
reason.
Creates a session description String representing the MediaStreams that this MediaHandler is prepared to exchange . The offer takes into account user preferences such as whether or not local user would be transmitting video whether any or all streams are put on hold etc . The method is also taking into account any previous offers that this handler may have previously issues hence making the newly generated String an session creation or a session update offer accordingly . @return an SDP description String representing the streams that this handler is prepared to initiate . @throws OperationFailedException if creating the SDP fails for some reason .
public String createOffer()
        throws OperationFailedException
    {
        SessionDescription offer
            = (localSess == null)
                ? createFirstOffer()
                : createUpdateOffer(localSess);
        if (getConfigurationService().getBoolean(
                ProtocolProviderServiceSipImpl
                        .USE_SESSION_LEVEL_DIRECTION_IN_SDP,
                false))
        {
            SdpUtils.setSessionDirection(offer);
        }
        return offer.toString();
    }
public String createOffer ( ) throws OperationFailedException { SessionDescription offer = ( localSess == null ) ? createFirstOffer ( ) : createUpdateOffer ( localSess ) ; if ( getConfigurationService ( ) . getBoolean ( ProtocolProviderServiceSipImpl . USE_SESSION_LEVEL_DIRECTION_IN_SDP , false ) ) { SdpUtils . setSessionDirection ( offer ) ; } return offer . toString ( ) ; }
Creates a session description <tt>String</tt> representing the
 <tt>MediaStream</tt>s that this <tt>MediaHandler</tt> is prepared to
 exchange.
Creates a session description <tt > String< / tt > representing the <tt > MediaStream< / tt > s that this <tt > MediaHandler< / tt > is prepared to exchange .