This commit is contained in:
Sergiu Toma 2022-12-16 14:13:11 +02:00
parent a31e646e2b
commit 2ddeb4baaa

1
app.js
View File

@ -428,6 +428,7 @@ peers.on('connection', async socket => {
callback({ videoParams, audioParams });
} else if (!canConsumeVideo && canConsumeAudio) {
const audioParams = await consumeAudio(callId, socket.id, rtpCapabilities)
console.log('-----------', { videoParams: null, audioParams });
callback({ videoParams: null, audioParams });
} else {
console.log(`[consume] Can't consume | callId ${callId}`);