test
This commit is contained in:
parent
eb68830e3e
commit
ffb4bd59ea
3
app.js
3
app.js
@ -232,6 +232,9 @@ peers.on('connection', async socket => {
|
|||||||
const callId = socketDetails[socket.id];
|
const callId = socketDetails[socket.id];
|
||||||
console.log(`[createWebRtcTransport] socket ${socket.id} | sender ${sender} | callId ${callId}`);
|
console.log(`[createWebRtcTransport] socket ${socket.id} | sender ${sender} | callId ${callId}`);
|
||||||
if (sender) {
|
if (sender) {
|
||||||
|
console.log('OOOOOOOOOOOOOOOOOO');
|
||||||
|
console.log(!isInitiator(callId, socket.id));
|
||||||
|
console.log('OOOOOOOOOOOOOOOOOO');
|
||||||
if(!videoCalls[callId].receiverProducerTransport && !isInitiator(callId, socket.id)) {
|
if(!videoCalls[callId].receiverProducerTransport && !isInitiator(callId, socket.id)) {
|
||||||
console.log('1');
|
console.log('1');
|
||||||
videoCalls[callId].receiverProducerTransport = await createWebRtcTransportLayer(callId, callback);
|
videoCalls[callId].receiverProducerTransport = await createWebRtcTransportLayer(callId, callback);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user