test
This commit is contained in:
parent
020be2f7b9
commit
256687f284
5
app.js
5
app.js
@ -196,10 +196,11 @@ 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.id', videoCalls[callId].receiverSocket.id)
|
||||
console.log('------------', videoCalls[callId].receiverSocket);
|
||||
console.log('🟦 videoCalls[callId].receiverSocket.socket.id', videoCalls[callId].receiverSocket.socket.id)
|
||||
} else {
|
||||
videoCalls[callId].initiatorSocket = socket;
|
||||
console.log('🟦 videoCalls[callId].initiatorSocket.id', videoCalls[callId].initiatorSocket.id)
|
||||
console.log('🟦 videoCalls[callId].initiatorSocket.id', videoCalls[callId].initiatorSocket.socket.id)
|
||||
}
|
||||
socketDetails[socket.id] = callId;
|
||||
// rtpCapabilities is set for callback
|
||||
|
Loading…
Reference in New Issue
Block a user