Update
This commit is contained in:
parent
2ddeb4baaa
commit
2fbb355fea
5
app.js
5
app.js
@ -428,8 +428,9 @@ 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 });
|
||||
const data = { videoParams: null, audioParams };
|
||||
console.log('-----------======= data', data);
|
||||
callback(data);
|
||||
} else {
|
||||
console.log(`[consume] Can't consume | callId ${callId}`);
|
||||
callback(null);
|
||||
|
Loading…
Reference in New Issue
Block a user