summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-11-14 08:20:40 +0300
committerDevaev Maxim <[email protected]>2018-11-14 08:20:40 +0300
commitc315006ea7c128bfffb32d22c88cf440b2741d37 (patch)
tree7c9a039985357d1e315fbcd7e37c1b71365d1742
parent2a540f7bb91bc8425c0fb4eabee1ecee4ec7cf85 (diff)
reconnect to stream if client_id is rotten
-rw-r--r--web/js/kvm/stream.js2
1 files changed, 1 insertions, 1 deletions
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) {