reconnect to stream if client_id is rotten

This commit is contained in:
Devaev Maxim 2018-11-14 08:20:40 +03:00
parent 2a540f7bb9
commit c315006ea7

View File

@ -95,7 +95,7 @@ function Streamer() {
if (stream.clients_stat.hasOwnProperty(__client_id)) { if (stream.clients_stat.hasOwnProperty(__client_id)) {
__client_fps = stream.clients_stat[__client_id].fps; __client_fps = stream.clients_stat[__client_id].fps;
} else { } else {
__client_fps = -1; self.clearState();
} }
if (!__prev) { if (!__prev) {