jitsi/ice4j

Firefox required tcptype in tcp ICE candidate

Opened this issue · 0 comments

The Firefox can't parse a tcp ICE candidate if the attribute tcptype is missing. The class TcpHostCandidate contains a value of CandidateTcpType but the toString() method does not add it.

The follow Code should be added to the method Candidate.toString()

        CandidateTcpType tcpType= getTcpType();
        if (tcpType!= null)
        {
            buff.append(" tcptype ").append(tcpType);
        }