Session player streaming improvements.

This commit is contained in:
Ylian Saint-Hilaire
2021-11-07 18:18:32 -08:00
parent 7974b43b3d
commit 0c94f8e475
2 changed files with 9 additions and 3 deletions

View File

@@ -30,7 +30,7 @@
</div>
<div>
<input id="OpenFileButton" type=button value="Open File..." onclick="openfile()" style="display:none">
<span id="deskstatus"></span>
<div id="deskstatus" style="line-height:22px;overflow:hidden;max-height:22px"></div>
</div>
</div>
<div id=deskarea3x style="max-height:calc(100vh - 58px);height:calc(100vh - 58px);" onclick="togglePause()">
@@ -202,7 +202,13 @@
}
}
ws.onclose = function (e) { console.log('Session Streaming - Disconnected'); restart(); }
ws.onclose = function (e) {
console.log('Session Streaming - Disconnected');
ws = null;
urlargs.stream = null;
QV('OpenFileButton', true);
cleanup();
}
} else {
QV('OpenFileButton', true);
}