Update server
This commit is contained in:
parent
9feaebf8a7
commit
ae7a8ed9ce
1
app.js
1
app.js
@ -380,6 +380,7 @@ peers.on('connection', async socket => {
|
|||||||
if (canConsumeVideo && !canConsumeAudio) {
|
if (canConsumeVideo && !canConsumeAudio) {
|
||||||
console.log('1');
|
console.log('1');
|
||||||
const videoParams = consumeVideo(callId, rtpCapabilities)
|
const videoParams = consumeVideo(callId, rtpCapabilities)
|
||||||
|
console.log('videoParams', videoParams);
|
||||||
callback({ videoParams, audioParams: null });
|
callback({ videoParams, audioParams: null });
|
||||||
} else if (canConsumeVideo && canConsumeAudio) {
|
} else if (canConsumeVideo && canConsumeAudio) {
|
||||||
console.log('2');
|
console.log('2');
|
||||||
|
Loading…
Reference in New Issue
Block a user