File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
jvb/src/main/kotlin/org/jitsi/videobridge/dcsctp Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,11 @@ class DcSctpTransport(
8686 check(SctpConfig .config.enabled()) { " SCTP is disabled in configuration" }
8787 DcSctpOptions ().apply {
8888 maxTimerBackoffDuration = DEFAULT_MAX_TIMER_DURATION
89+ // Because we're making retransmits faster, we need to allow unlimited retransmits
90+ // or SCTP can time out (which we don't handle). Peer connection timeouts are handled at
91+ // a higher layer.
92+ maxRetransmissions = null
93+ maxInitRetransmits = null
8994 }
9095 }
9196
@@ -127,7 +132,9 @@ abstract class DcSctpBaseCallbacks(
127132 }
128133
129134 override fun OnStreamsResetPerformed (outgoingStreams : ShortArray ) {
130- transport.logger.info(" Surprising SCTP callback: outgoing streams ${outgoingStreams.joinToString()} reset" )
135+ // This is normal following a call to close(), which is a hard-close (as opposed to shutdown() which is
136+ // soft-close)
137+ transport.logger.info(" Outgoing streams ${outgoingStreams.joinToString()} reset" )
131138 }
132139
133140 override fun OnIncomingStreamsReset (incomingStreams : ShortArray ) {
You can’t perform that action at this time.
0 commit comments