LH-265-enable-audio-in-mediasoup #16

Closed
sergiu wants to merge 120 commits from LH-265-enable-audio-in-mediasoup into master
Showing only changes of commit 85110b7f5c - Show all commits

4
app.js
View File

@ -364,12 +364,12 @@ peers.on('connection', async socket => {
const callId = socketDetails[socket.id]; const callId = socketDetails[socket.id];
console.log('[consume] callId', callId); console.log('[consume] callId', callId);
const canConsumeVideo = videoCalls[callId].producerVideo && !!videoCalls[callId].router.canConsume({ const canConsumeVideo = !!videoCalls[callId].producerVideo && !!videoCalls[callId].router.canConsume({
producerId: videoCalls[callId].producerVideo.id, producerId: videoCalls[callId].producerVideo.id,
rtpCapabilities rtpCapabilities
}) })
const canConsumeAudio = videoCalls[callId].producerAudio && !!videoCalls[callId].router.canConsume({ const canConsumeAudio = !!videoCalls[callId].producerAudio && !!videoCalls[callId].router.canConsume({
producerId: videoCalls[callId].producerAudio.id, producerId: videoCalls[callId].producerAudio.id,
rtpCapabilities rtpCapabilities
}) })