comsume-undefined #22
4
app.js
4
app.js
@ -451,8 +451,8 @@ peers.on('connection', async socket => {
|
||||
if (isInitiator(callId, socket.id)) {
|
||||
console.log('🟩');
|
||||
|
||||
console.log(`[consumer-resume] isInitiator true`);
|
||||
(videoCalls[callId].initiatorConsumerAudio) && await videoCalls[callId].initiatorConsumerVideo.resume();
|
||||
(videoCalls[callId].initiatorConsumerAudio) && await videoCalls[callId].initiatorConsumerAudio.resume();
|
||||
await videoCalls[callId].initiatorConsumerVideo.resume();
|
||||
await videoCalls[callId].initiatorConsumerAudio.resume();
|
||||
} else {
|
||||
console.log('🟥');
|
||||
console.log(`[consumer-resume] isInitiator false`);
|
||||
|
Loading…
Reference in New Issue
Block a user
Check for
videoCalls[callId].initiatorConsumerVideo
is redundant.