Update 'app.js'
This commit is contained in:
parent
523945271e
commit
2de94721cc
4
app.js
4
app.js
@ -42,7 +42,9 @@ httpsServer.listen(process.env.PORT, () => {
|
||||
console.log('Listening on port:', process.env.PORT)
|
||||
})
|
||||
|
||||
const io = new Server(httpsServer)
|
||||
const io = new Server(httpServer, {
|
||||
allowEIO3: true
|
||||
});
|
||||
|
||||
// socket.io namespace (could represent a room?)
|
||||
const peers = io.of('/mediasoup')
|
||||
|
Loading…
Reference in New Issue
Block a user