code: @Override
      public synchronized void resolve(JingleSession session) throws XMPPException, NotConnectedException, InterruptedException {
  
          setResolveInit();
  
          clearCandidates();
  
          TransportCandidate candidate = new TransportCandidate.Fixed(
                  resolvedPublicIP, getFreePort());
          candidate.setLocalIp(resolvedLocalIP);
  
          LOGGER.fine("RESOLVING : " + resolvedPublicIP + ":" + candidate.getPort());
  
          addCandidate(candidate);
  
          setResolveEnd();
  
      }
docs: Resolve the IP and obtain a valid transport method.
  @throws NotConnectedException
  @throws InterruptedException