mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Fixed WebRTC, WebApp UI improvements.
This commit is contained in:
parent
9be8af9214
commit
a16d2d5f12
5 changed files with 611 additions and 511 deletions
|
@ -74,7 +74,7 @@ var CreateAgentRedirect = function (meshserver, module, serverPublicNamePort, au
|
|||
if (controlMsg.type == 'console') {
|
||||
obj.consoleMessage = controlMsg.msg;
|
||||
if (obj.onConsoleMessageChange) { obj.onConsoleMessageChange(obj, obj.consoleMessage); }
|
||||
} else if ((controlMsg.type = 'rtt') && (typeof controlMsg.time == 'number')) {
|
||||
} else if ((controlMsg.type == 'rtt') && (typeof controlMsg.time == 'number')) {
|
||||
obj.latency.current = (new Date().getTime()) - controlMsg.time;
|
||||
if (obj.latency.callbacks != null) { obj.latency.callback(obj.latency.current); }
|
||||
} else if (obj.webrtc != null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue