comsume-undefined #22

Merged
sergiu merged 9 commits from comsume-undefined into develop 2023-01-12 13:31:47 +00:00
Showing only changes of commit c034610471 - Show all commits

4
app.js
View File

@ -451,8 +451,8 @@ peers.on('connection', async socket => {
if (isInitiator(callId, socket.id)) { if (isInitiator(callId, socket.id)) {
console.log('🟩'); console.log('🟩');

Check for videoCalls[callId].initiatorConsumerVideo is redundant.

Check for `videoCalls[callId].initiatorConsumerVideo` is redundant.
console.log(`[consumer-resume] isInitiator true`); console.log(`[consumer-resume] isInitiator true`);
(videoCalls[callId].initiatorConsumerAudio) && await videoCalls[callId].initiatorConsumerVideo.resume(); await videoCalls[callId].initiatorConsumerVideo.resume();
(videoCalls[callId].initiatorConsumerAudio) && await videoCalls[callId].initiatorConsumerAudio.resume(); await videoCalls[callId].initiatorConsumerAudio.resume();
} else { } else {
console.log('🟥'); console.log('🟥');
console.log(`[consumer-resume] isInitiator false`); console.log(`[consumer-resume] isInitiator false`);