Skip to content

Commit fb91446

Browse files
authored
fix: Schedule RelayMessageTransport timeout regardless of sctp config. (#2306)
This should run with web sockets as well.
1 parent 7c041e4 commit fb91446

File tree

1 file changed

+1
-1
lines changed
  • jvb/src/main/kotlin/org/jitsi/videobridge/relay

1 file changed

+1
-1
lines changed

jvb/src/main/kotlin/org/jitsi/videobridge/relay/Relay.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,13 +425,13 @@ class Relay @JvmOverloads constructor(
425425
) {
426426
logger.info("DTLS handshake complete")
427427
setSrtpInformation(chosenSrtpProtectionProfile, tlsRole, keyingMaterial)
428+
scheduleRelayMessageTransportTimeout()
428429
if (sctpConfig.enabled && sctpConfig.useUsrSctp) {
429430
when (val socket = sctpSocket) {
430431
is SctpClientSocket -> connectUsrSctpConnection(socket)
431432
is SctpServerSocket -> acceptUsrSctpConnection(socket)
432433
else -> Unit
433434
}
434-
scheduleRelayMessageTransportTimeout()
435435
} else if (sctpConfig.enabled) {
436436
if (sctpRole == Sctp.Role.CLIENT) {
437437
sctpTransport!!.connect()

0 commit comments

Comments
 (0)