This commit is contained in:
Sergiu Toma 2022-12-16 02:12:22 +02:00
parent d29def364c
commit 0a6985f9b9
2 changed files with 2 additions and 2 deletions

View File

@ -20581,7 +20581,7 @@ const createSendTransport = () => {
// see server's socket.on('createWebRtcTransport', sender?, ...) // see server's socket.on('createWebRtcTransport', sender?, ...)
// this is a call from Producer, so sender = true // this is a call from Producer, so sender = true
console.log('EMIT 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)}`); console.log(`[createWebRtcTransport] value: ${JSON.stringify(value)}`);

View File

@ -223,7 +223,7 @@ const createSendTransport = () => {
// see server's socket.on('createWebRtcTransport', sender?, ...) // see server's socket.on('createWebRtcTransport', sender?, ...)
// this is a call from Producer, so sender = true // this is a call from Producer, so sender = true
console.log('EMIT 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)}`); console.log(`[createWebRtcTransport] value: ${JSON.stringify(value)}`);