src/net/java/sip/communicator/impl/protocol/sip/CallPeerMediaHandlerSipImpl.java
/**
     * Creates a <tt>SessionDescription</tt> meant to update a previous offer
     * (<tt>sdescToUpdate</tt>) so that it would reflect the current state (e.g.
     * on-hold and local video transmission preferences) of this
     * <tt>MediaHandler</tt>.
     *
     * @param sdescToUpdate the <tt>SessionDescription</tt> that we are going to
     * update.
     *
     * @return the newly created <tt>SessionDescription</tt> meant to update
     * <tt>sdescToUpdate</tt>.
     *
     * @throws OperationFailedException in case creating the new description
     * fails for some reason.
     */
Creates a SessionDescription meant to update a previous offer
(sdescToUpdate) so that it would reflect the current state  of this
MediaHandler.

@param sdescToUpdate the SessionDescription that we are going to
update.

@return the newly created SessionDescription meant to update
sdescToUpdate.

@throws OperationFailedException in case creating the new description
fails for some reason.
Creates a SessionDescription meant to update a previous offer ( sdescToUpdate ) so that it would reflect the current state of this MediaHandler . @param sdescToUpdate the SessionDescription that we are going to update . @return the newly created SessionDescription meant to update sdescToUpdate . @throws OperationFailedException in case creating the new description fails for some reason .
private SessionDescription createUpdateOffer(
                                        SessionDescription sdescToUpdate)
        throws OperationFailedException
    {
        List<MediaDescription> newMediaDescs = createMediaDescriptions();
        SessionDescription newOffer = SdpUtils.createSessionUpdateDescription(
            sdescToUpdate, getTransportManager().getLastUsedLocalHost(),
            newMediaDescs);
        this.localSess = newOffer;
        return newOffer;
    }
private SessionDescription createUpdateOffer ( SessionDescription sdescToUpdate ) throws OperationFailedException { List < MediaDescription > newMediaDescs = createMediaDescriptions ( ) ; SessionDescription newOffer = SdpUtils . createSessionUpdateDescription ( sdescToUpdate , getTransportManager ( ) . getLastUsedLocalHost ( ) , newMediaDescs ) ; this . localSess = newOffer ; return newOffer ; }
Creates a <tt>SessionDescription</tt> meant to update a previous offer
 (<tt>sdescToUpdate</tt>) so that it would reflect the current state (e.g.
Creates a <tt > SessionDescription< / tt > meant to update a previous offer ( <tt > sdescToUpdate< / tt > ) so that it would reflect the current state ( e . g .
//create the media descriptions reflecting our current state.