Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firefox required tcptype in tcp ICE candidate #282

Open
Horcrux7 opened this issue Jun 3, 2024 · 0 comments
Open

Firefox required tcptype in tcp ICE candidate #282

Horcrux7 opened this issue Jun 3, 2024 · 0 comments

Comments

@Horcrux7
Copy link
Contributor

Horcrux7 commented Jun 3, 2024

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);
        }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant