From 56dcd00e82ba80da0aeb2a4b599136ea68fc58e1 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Thu, 9 May 2019 16:11:14 +0200 Subject: [PATCH] fix audio on reconnect --- htdocs/openwebrx.js | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/openwebrx.js b/htdocs/openwebrx.js index 3efbe9b..7cbe0da 100644 --- a/htdocs/openwebrx.js +++ b/htdocs/openwebrx.js @@ -1694,6 +1694,7 @@ function on_ws_closed() audio_node.disconnect(); } catch (dont_care) {} + audio_initialized = 0; divlog("WebSocket has closed unexpectedly. Attempting to reconnect in 5 seconds...", 1); setTimeout(open_websocket, 5000);