This commit is contained in:
Sergiu Toma 2022-12-19 11:24:19 +02:00
parent dfa175d0c7
commit 782683c3e2
2 changed files with 6 additions and 4 deletions

View File

@ -20762,8 +20762,9 @@ const connectRecvTransport = async () => {
await socket.emit('consume', {
rtpCapabilities: device.rtpCapabilities,
callId
}, async (data) => {
console.log(`[consume] data ${JSON.stringify(data)}`);
}, async ({videoParams, audioParams}) => {
console.log(`[consume] videoParams ${videoParams}`);
console.log(`[consume] audioParams ${audioParams}`);
// if (params.error) {
// console.log('Cannot Consume')
// return

View File

@ -404,8 +404,9 @@ const connectRecvTransport = async () => {
await socket.emit('consume', {
rtpCapabilities: device.rtpCapabilities,
callId
}, async (data) => {
console.log(`[consume] data ${JSON.stringify(data)}`);
}, async ({videoParams, audioParams}) => {
console.log(`[consume] videoParams ${videoParams}`);
console.log(`[consume] audioParams ${audioParams}`);
// if (params.error) {
// console.log('Cannot Consume')
// return