LH-265-enable-audio-in-mediasoup #16
5
app.js
5
app.js
@ -364,6 +364,8 @@ peers.on('connection', async socket => {
|
||||
const callId = socketDetails[socket.id];
|
||||
console.log('[consume] callId', callId);
|
||||
|
||||
console.log('🟠 videoCalls[callId].consumerAudio', videoCalls[callId].consumerAudio);
|
||||
|
||||
// Check if the router can consume the specified producer
|
||||
if (
|
||||
videoCalls[callId].router.canConsume({
|
||||
@ -418,9 +420,6 @@ peers.on('connection', async socket => {
|
||||
// closeCall(callId);
|
||||
// });
|
||||
|
||||
console.log('🟠 videoCalls[callId].consumerAudio', videoCalls[callId].consumerAudio);
|
||||
|
||||
|
||||
// From the consumer extract the following params to send back to the Client
|
||||
const videoParams = {
|
||||
id: videoCalls[callId].consumerVideo.id,
|
||||
|
Loading…
Reference in New Issue
Block a user