This commit is contained in:
Sergiu Toma 2023-01-13 19:11:56 +02:00
parent 18aa9c93ed
commit eb68830e3e

2
app.js
View File

@ -654,7 +654,7 @@ const consumeAudio = async (callId, socketId, rtpCapabilities) => {
const isInitiator = (callId, socketId) => {
console.log('===============videoCalls[callId].initiatorSocket.id', videoCalls[callId].initiatorSocket.id);
console.log('===============socketId', socketId);
return (videoCalls[callId].initiatorSocket.socket.id === socketId);
return (videoCalls[callId].initiatorSocket.id === socketId);
}
/*