This commit is contained in:
Sergiu Toma 2022-12-16 11:23:10 +02:00
parent dc9c91fccc
commit 5ba1f76585

2
app.js
View File

@ -226,7 +226,7 @@ peers.on('connection', async socket => {
socket.on('createWebRtcTransport', async (data, callback) => { socket.on('createWebRtcTransport', async (data, callback) => {
try { try {
console.log('🟥 WARNING', JSON.stringify(data)); console.log('🟥 WARNING', JSON.stringify(data));
console.log('createWebRtcTransport-----------------------data', data); console.log('createWebRtcTransport-----------------------data', data, 'socketid', socket.id);
const { sender } = data const { sender } = data
console.log('createWebRtcTransport-----------------------sender', sender); console.log('createWebRtcTransport-----------------------sender', sender);
const callId = socketDetails[socket.id]; const callId = socketDetails[socket.id];