Skip to content

Change usrsctp initialization function to not open raw sockets#1805

Closed
niyatim23 wants to merge 1 commit intodevelopfrom
kiyotsu_dev
Closed

Change usrsctp initialization function to not open raw sockets#1805
niyatim23 wants to merge 1 commit intodevelopfrom
kiyotsu_dev

Conversation

@niyatim23
Copy link
Copy Markdown
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
Copy Markdown
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