code: public List<JingleTransportCandidate> getCandidatesList() {
          ArrayList<JingleTransportCandidate> res;
          synchronized (candidates) {
              res = new ArrayList<>(candidates);
          }
          return res;
      }
docs: Get the list of candidates.
  
  @return The candidates list.