mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-07 12:52:54 -05:00
fix webrtcconfig and allow stun servers #6309
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
@@ -83,7 +83,7 @@
|
||||
var meshMessengerImage = '{{{meshMessengerImage}}}';
|
||||
var remoteUserName = '{{{username}}}';
|
||||
var remoteUserId = '{{{userid}}}';
|
||||
var webrtcconfiguration = '{{{webrtconfig}}}';
|
||||
var webrtcconfiguration = '{{{webrtcconfig}}}';
|
||||
if (webrtcconfiguration == '') { webrtcconfiguration = null; } else { try { webrtcconfiguration = JSON.parse(decodeURIComponent(webrtcconfiguration)); } catch (ex) { console.log('Invalid WebRTC config: "' + webrtcconfiguration + '".'); webrtcconfiguration = null; } }
|
||||
var windowFocus = true;
|
||||
var chatTextSession = new Date().toString() + '\r\n';
|
||||
|
||||
Reference in New Issue
Block a user