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 @@ - +