src/net/java/sip/communicator/impl/protocol/jabber/CallPeerMediaHandlerJabberImpl.java
/**
     * Detects and adds DTLS-SRTP available encryption method present in the
     * content (description) given in parameter.
     *
     * @param isInitiator <tt>true</tt> if the local call instance is the
     * initiator of the call; <tt>false</tt>, otherwise.
     * @param content The CONTENT element of the JINGLE element which contains
     * the TRANSPORT element
     * @param mediaType The type of media (AUDIO or VIDEO).
     */
Detects and adds DTLS-SRTP available encryption method present in the
content (description) given in parameter.

@param isInitiator true if the local call instance is the
initiator of the call; false, otherwise.
@param content The CONTENT element of the JINGLE element which contains
the TRANSPORT element
@param mediaType The type of media (AUDIO or VIDEO).
Detects and adds DTLS - SRTP available encryption method present in the content ( description ) given in parameter . @param isInitiator true if the local call instance is the initiator of the call ; false otherwise . @param content The CONTENT element of the JINGLE element which contains the TRANSPORT element @param mediaType The type of media ( AUDIO or VIDEO ) .
private boolean addDtlsAdvertisedEncryptions(
            boolean isInitiator,
            ContentPacketExtension content,
            MediaType mediaType,
            boolean rtcpmux)
    {
        if (getPeer().isJitsiVideobridge())
        {
            return false;
        }
        else
        {
            IceUdpTransportPacketExtension remoteTransport
                = content.getFirstChildOfType(
                        IceUdpTransportPacketExtension.class);
            return
                addDtlsAdvertisedEncryptions(
                        isInitiator,
                        remoteTransport,
                        mediaType,
                        rtcpmux);
        }
    }
private boolean addDtlsAdvertisedEncryptions ( boolean isInitiator , ContentPacketExtension content , MediaType mediaType , boolean rtcpmux ) { if ( getPeer ( ) . isJitsiVideobridge ( ) ) { return false ; } else { IceUdpTransportPacketExtension remoteTransport = content . getFirstChildOfType ( IceUdpTransportPacketExtension . class ) ; return addDtlsAdvertisedEncryptions ( isInitiator , remoteTransport , mediaType , rtcpmux ) ; } }
Detects and adds DTLS-SRTP available encryption method present in the
 content (description) given in parameter.
Detects and adds DTLS - SRTP available encryption method present in the content ( description ) given in parameter .
// TODO Auto-generated method stub