From 98c9f868414abfe2cf2a92d16ecff526fe9a06b6 Mon Sep 17 00:00:00 2001 From: bgrozev Date: Fri, 4 Nov 2022 16:18:02 -0500 Subject: [PATCH] Add DTLS role to debug state. (#1968) --- .../kotlin/org/jitsi/videobridge/transport/dtls/DtlsTransport.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/jvb/src/main/kotlin/org/jitsi/videobridge/transport/dtls/DtlsTransport.kt b/jvb/src/main/kotlin/org/jitsi/videobridge/transport/dtls/DtlsTransport.kt index 3bc79fe05a..94ce399e41 100644 --- a/jvb/src/main/kotlin/org/jitsi/videobridge/transport/dtls/DtlsTransport.kt +++ b/jvb/src/main/kotlin/org/jitsi/videobridge/transport/dtls/DtlsTransport.kt @@ -182,6 +182,7 @@ class DtlsTransport(parentLogger: Logger) { fun getDebugState(): OrderedJsonObject = stats.toJson().apply { put("running", running.get()) + put("role", dtlsStack.role.toString()) put("is_connected", isConnected) }