LAPI-675: Remove commented code
This commit is contained in:
parent
fb99fd57f8
commit
9382fd11fb
11
app.js
11
app.js
@ -266,17 +266,6 @@ peers.on('connection', async (socket) => {
|
||||
: videoCalls[callId].initiatorSocket;
|
||||
socketToEmit.emit('new-producer', { callId });
|
||||
|
||||
// if (!isInitiator(callId, socket.id)) {
|
||||
// await videoCalls[callId].receiverProducerTransport.connect({ dtlsParameters });
|
||||
// videoCalls[callId].initiatorSocket.emit('new-producer', {
|
||||
// callId,
|
||||
// });
|
||||
// } else {
|
||||
// await videoCalls[callId].initiatorProducerTransport.connect({ dtlsParameters });
|
||||
// videoCalls[callId].receiverSocket.emit('new-producer', {
|
||||
// callId,
|
||||
// });
|
||||
// }
|
||||
} catch (error) {
|
||||
console.log(`ERROR | transport-connect | callId ${socketDetails[socket.id]} | ${error.message}`);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user