diff --git a/public/bundle.js b/public/bundle.js index 525c0c5..733c840 100644 --- a/public/bundle.js +++ b/public/bundle.js @@ -20622,9 +20622,9 @@ const createSendTransport = () => { // this is a call from Producer, so sender = true socket.emit('createWebRtcTransport', { sender: true, callId }, (value) => { - console.log(`[createWebRtcTransport] value: ${value}`); + console.log(`[createWebRtcTransport] value: ${JSON.stringify(value)}`); - const params = value; + const params = value.params; // The server sends back params needed // to create Send Transport on the client side if (params.error) { diff --git a/public/index.js b/public/index.js index a6c66f7..b30af81 100644 --- a/public/index.js +++ b/public/index.js @@ -264,9 +264,9 @@ const createSendTransport = () => { // this is a call from Producer, so sender = true socket.emit('createWebRtcTransport', { sender: true, callId }, (value) => { - console.log(`[createWebRtcTransport] value: ${value}`); + console.log(`[createWebRtcTransport] value: ${JSON.stringify(value)}`); - const params = value; + const params = value.params; // The server sends back params needed // to create Send Transport on the client side if (params.error) {