Update server

This commit is contained in:
Sergiu Toma 2022-11-29 03:16:15 +02:00
parent 9feaebf8a7
commit ae7a8ed9ce

1
app.js
View File

@ -380,6 +380,7 @@ peers.on('connection', async socket => {
if (canConsumeVideo && !canConsumeAudio) {
console.log('1');
const videoParams = consumeVideo(callId, rtpCapabilities)
console.log('videoParams', videoParams);
callback({ videoParams, audioParams: null });
} else if (canConsumeVideo && canConsumeAudio) {
console.log('2');