Skip to content

do not used fixed sctp-ports 5000, but consult the negotiated ports #706

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

Merged
merged 2 commits into from
Aug 3, 2025

Conversation

KillingSpark
Copy link
Contributor

AS described in #705 this library currently fixes the sctp port used for datachannels as 5000 for both parties even if the negotiation says otherwise. This PR fixes that behaviour, consulting the negotiated ports and passing them to the sctp subsystem.

Copy link
Collaborator

@yngrtc yngrtc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: please fix clippy & fmt warnings

@KillingSpark
Copy link
Contributor Author

KillingSpark commented Jul 28, 2025

The CI is stuck on a specific test, but I was able to confirm that this test (test_data_channel_channel_type_partial_reliable_timed) sometimes hangs, even on commits 4327e6e and f296fc7 without any of the changes in this PR.

@rainliu rainliu merged commit dec7b58 into webrtc-rs:master Aug 3, 2025
8 of 9 checks passed
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.

3 participants