From 61c6c3a8c517ba004c586cd80b59d0901cdde08b Mon Sep 17 00:00:00 2001 From: Hemraj Date: Tue, 14 Apr 2020 02:10:23 +0530 Subject: [PATCH] enable heartbeat after reconnection --- .../kurento/jsonrpc/client/AbstractJsonRpcClientWebSocket.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kurento-jsonrpc/kurento-jsonrpc-client/src/main/java/org/kurento/jsonrpc/client/AbstractJsonRpcClientWebSocket.java b/kurento-jsonrpc/kurento-jsonrpc-client/src/main/java/org/kurento/jsonrpc/client/AbstractJsonRpcClientWebSocket.java index a0b642d59..f2cdb90c5 100644 --- a/kurento-jsonrpc/kurento-jsonrpc-client/src/main/java/org/kurento/jsonrpc/client/AbstractJsonRpcClientWebSocket.java +++ b/kurento-jsonrpc/kurento-jsonrpc-client/src/main/java/org/kurento/jsonrpc/client/AbstractJsonRpcClientWebSocket.java @@ -778,7 +778,7 @@ private void updateSession() throws IOException { fireConnected(); } - if (heartbeating) { + if (!heartbeating) { enableHeartbeat(); } }