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

Change usrsctp initialization function to not open raw sockets #1805

Closed
wants to merge 1 commit into from

Conversation

niyatim23
Copy link
Contributor

Issue #, if available:
Issue: #1782
PR: #1796
What was changed?
Change usrsctp initialization function to not open raw sockets

Why was it changed?
Port 132 is opened by the usrsctp library. However, this port is not used by WebRTC and should not be open

How was it changed?
Using usrsctp_init_nothreads instead of usrsctp_init to prevent those unused sockets from being created (Ref: sctplab/usrsctp#532)

What testing was done for the changes?

  • Manually tested by running WebRTC C SDK as master and JS SDK as viewer and sending data channel messages from master to viewer and vice versa
  • Manually tested by running WebRTC C SDK as viewer and JS SDK as master and sending data channel messages from master to viewer and vice versa

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@niyatim23
Copy link
Contributor Author

Closing this as the original PR has been merged: #1796

@niyatim23 niyatim23 closed this Sep 13, 2023
@sirknightj sirknightj added the test-run CI uses Git Secrets, which are only accessible by maintainers. label Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test-run CI uses Git Secrets, which are only accessible by maintainers.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants