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', { await socket.emit('consume', {
rtpCapabilities: device.rtpCapabilities, rtpCapabilities: device.rtpCapabilities,
callId callId
}, async (data) => { }, async ({videoParams, audioParams}) => {
console.log(`[consume] data ${JSON.stringify(data)}`); console.log(`[consume] videoParams ${videoParams}`);
console.log(`[consume] audioParams ${audioParams}`);
// if (params.error) { // if (params.error) {
// console.log('Cannot Consume') // console.log('Cannot Consume')
// return // return

View File

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