This commit is contained in:
Sergiu Toma 2023-01-13 19:16:06 +02:00
parent 7b75c64c42
commit a75476a1b1

1
app.js
View File

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