test
This commit is contained in:
parent
b1dbc401a5
commit
ed7feaecd5
2
app.js
2
app.js
@ -196,8 +196,10 @@ peers.on('connection', async socket => {
|
||||
videoCalls[callId] = { router: await worker.createRouter({ mediaCodecs }) };
|
||||
console.log(`[createRoom] Router ID: ${videoCalls[callId].router.id}`);
|
||||
videoCalls[callId].receiverSocket = socket;
|
||||
console.log('🟦 videoCalls[callId].initiatorSocket', videoCalls[callId].receiverSocket)
|
||||
} else {
|
||||
videoCalls[callId].initiatorSocket = socket;
|
||||
console.log('🟦 videoCalls[callId].initiatorSocket', videoCalls[callId].initiatorSocket)
|
||||
}
|
||||
socketDetails[socket.id] = callId;
|
||||
// rtpCapabilities is set for callback
|
||||
|
Loading…
Reference in New Issue
Block a user