From eef4e229a32074655f7f68d17cb9a9388e7e1aeb Mon Sep 17 00:00:00 2001 From: Miroslav Pejic Date: Tue, 8 Feb 2022 16:07:51 +0100 Subject: [PATCH] [mirotalksfu] - update fabricjs + io settings --- app/src/Server.js | 4 +++- public/view/Room.html | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/src/Server.js b/app/src/Server.js index 23e4db1..0f1b39d 100644 --- a/app/src/Server.js +++ b/app/src/Server.js @@ -26,7 +26,9 @@ const options = { }; const httpsServer = https.createServer(options, app); -const io = require('socket.io')(httpsServer); +const io = require('socket.io')(httpsServer, { + maxHttpBufferSize: 1e7, +}); const host = 'https://' + 'localhost' + ':' + config.listenPort; // config.listenIp const announcedIP = config.mediasoup.webRtcTransport.listenIps[0].announcedIp; diff --git a/public/view/Room.html b/public/view/Room.html index 1f95942..3f1194d 100644 --- a/public/view/Room.html +++ b/public/view/Room.html @@ -80,7 +80,7 @@ - +