LINXD-2270-p2 #19
5
app.js
5
app.js
@ -428,8 +428,9 @@ peers.on('connection', async socket => {
|
|||||||
callback({ videoParams, audioParams });
|
callback({ videoParams, audioParams });
|
||||||
} else if (!canConsumeVideo && canConsumeAudio) {
|
} else if (!canConsumeVideo && canConsumeAudio) {
|
||||||
const audioParams = await consumeAudio(callId, socket.id, rtpCapabilities)
|
const audioParams = await consumeAudio(callId, socket.id, rtpCapabilities)
|
||||||
console.log('-----------', { videoParams: null, audioParams });
|
const data = { videoParams: null, audioParams };
|
||||||
callback({ videoParams: null, audioParams });
|
console.log('-----------======= data', data);
|
||||||
|
callback(data);
|
||||||
} else {
|
} else {
|
||||||
console.log(`[consume] Can't consume | callId ${callId}`);
|
console.log(`[consume] Can't consume | callId ${callId}`);
|
||||||
callback(null);
|
callback(null);
|
||||||
|
Loading…
Reference in New Issue
Block a user