diff options
author | Devaev Maxim <[email protected]> | 2018-11-14 08:20:40 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-11-14 08:20:40 +0300 |
commit | c315006ea7c128bfffb32d22c88cf440b2741d37 (patch) | |
tree | 7c9a039985357d1e315fbcd7e37c1b71365d1742 | |
parent | 2a540f7bb91bc8425c0fb4eabee1ecee4ec7cf85 (diff) |
reconnect to stream if client_id is rotten
-rw-r--r-- | web/js/kvm/stream.js | 2 |
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) { |