From c315006ea7c128bfffb32d22c88cf440b2741d37 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Wed, 14 Nov 2018 08:20:40 +0300 Subject: reconnect to stream if client_id is rotten --- web/js/kvm/stream.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/js/kvm/stream.js b/web/js/kvm/stream.js index 630eaa25..f68031b5 100644 --- a/web/js/kvm/stream.js +++ b/web/js/kvm/stream.js @@ -95,7 +95,7 @@ function Streamer() { if (stream.clients_stat.hasOwnProperty(__client_id)) { __client_fps = stream.clients_stat[__client_id].fps; } else { - __client_fps = -1; + self.clearState(); } if (!__prev) { -- cgit v1.2.3