public void disableDTLS() {
        if (this.dtls) {
            this.rtpChannel.disableSRTP();
            if (!this.rtcpMux) {
                this.rtcpChannel.disableSRTCP();
            }
            this.dtls = false;

            if (logger.isDebugEnabled()) {
                logger.debug(this.mediaType + " channel " + this.ssrc + " disabled DTLS");
            }
        }
    }
public void disableDTLS ( ) { if ( this . dtls ) { this . rtpChannel . disableSRTP ( ) ; if ( ! this . rtcpMux ) { this . rtcpChannel . disableSRTCP ( ) ; } this . dtls = false ; if ( logger . isDebugEnabled ( ) ) { logger . debug ( this . mediaType + " channel " + this . ssrc + " disabled DTLS" ) ; } } }
Disables DTLS and closes related resources.