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

Changes that enables ICE-TCP support #1802

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ibatrak777
Copy link

@ibatrak777 ibatrak777 commented Feb 17, 2022

Description
This PR contains changes from these PRs:
#1627
#1692
and replaces them

It enables ICE-TCP support both on BE and FE. Both previous PRs did not offer/answer with TCP and server reflex candidates correctly. In particular, they didn't contain passive/active and raddr/rport information in their candidates. For example, BE offered candidates

a=candidate:5 1 tcp 2105524479 192.168.8.131 58176 typ host generation 0
a=candidate:1 1 udp 1686052863 46.211.123.110 21355 typ srflx generation 0

Both of them are not correct. The first one doesn't contain tcptype information (active/passive). Another doesn't have raddr/rport data for srflx. The same for relay candidates

Also, this PR contains the latest version of adapter.js taken from https://github.com/webrtc/adapter/blob/master/release/adapter.js. This change fixes the issue when TCP candidates were not offered by FE

These changes were verified by blocking UDP traffic using iptables and using Wireshark for making sure that media is running through TCP.

Also, these changes have been tested with libnice. However, these changes contain nicer modifications as well, but I didn't verify it

Changes in Client or Server public APIs
No changes in APIs

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

Successfully merging this pull request may close these issues.

None yet

1 participant