code: 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");
              }
          }
      }
docs: Disables DTLS and closes related resources.