diff --git a/public/bundle.js b/public/bundle.js index 3559de4..c1cad51 100644 --- a/public/bundle.js +++ b/public/bundle.js @@ -20581,7 +20581,7 @@ const createSendTransport = () => { // see server's socket.on('createWebRtcTransport', sender?, ...) // this is a call from Producer, so sender = true console.log('EMIT sender: true!!!!!!!!!!!!!!!!!!!!'); - socket.emit('createWebRtcTransport', { sender: true }, (value) => { + socket.emit('createWebRtcTransport', { sender: 'true' }, (value) => { console.log(`[createWebRtcTransport] value: ${JSON.stringify(value)}`); diff --git a/public/index.js b/public/index.js index 042f327..cad9d46 100644 --- a/public/index.js +++ b/public/index.js @@ -223,7 +223,7 @@ const createSendTransport = () => { // see server's socket.on('createWebRtcTransport', sender?, ...) // this is a call from Producer, so sender = true console.log('EMIT sender: true!!!!!!!!!!!!!!!!!!!!'); - socket.emit('createWebRtcTransport', { sender: true }, (value) => { + socket.emit('createWebRtcTransport', { sender: 'true' }, (value) => { console.log(`[createWebRtcTransport] value: ${JSON.stringify(value)}`);