mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-12 11:01:52 +00:00
Added maxfragmentsize for webrtc datachannel
This commit is contained in:
parent
a15bf3f83d
commit
8792432825
1 changed files with 1 additions and 0 deletions
|
@ -2037,6 +2037,7 @@ function createMeshCore(agent) {
|
|||
ws.webrtc.on('disconnected', function () { /*sendConsoleText('Tunnel #' + this.websocket.tunnel.index + ' WebRTC disconnected');*/ });
|
||||
ws.webrtc.on('dataChannel', function (rtcchannel) {
|
||||
//sendConsoleText('WebRTC Datachannel open, protocol: ' + this.websocket.httprequest.protocol);
|
||||
rtcchannel.maxFragmentSize = 32768;
|
||||
rtcchannel.xrtc = this;
|
||||
rtcchannel.websocket = this.websocket;
|
||||
this.rtcchannel = rtcchannel;
|
||||
|
|
Loading…
Reference in a new issue