Skip to content

Commit

Permalink
Disable SCTP UDP encapsulation. (#2022)
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanLennox authored May 8, 2023
1 parent fc17337 commit 9eefa65
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jvb/src/main/java/org/jitsi/videobridge/sctp/SctpManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ public class SctpManager
if (config.enabled())
{
classLogger.info("Initializing Sctp4j");
// TODO: We pass DEFAULT_SCTP_PORT as the udp_port parameter to usrsctp_init, which probably doesn't make
// sense.
Sctp4j.init(DEFAULT_SCTP_PORT);
// "If UDP encapsulation is not necessary, the UDP port has to be set to 0"
// All our SCTP is encapsulated in DTLS, we don't use direct UDP encapsulation.
Sctp4j.init(0);
}
else
{
Expand Down

0 comments on commit 9eefa65

Please sign in to comment.