Delete the whole call(with id) when we call closeCall
This commit is contained in:
parent
f5406f163f
commit
41c6ad281d
2
app.js
2
app.js
@ -110,7 +110,7 @@ const closeCall = (callId) => {
|
|||||||
videoCalls[callId]?.consumerTransport.close();
|
videoCalls[callId]?.consumerTransport.close();
|
||||||
videoCalls[callId]?.producerTransport.close();
|
videoCalls[callId]?.producerTransport.close();
|
||||||
videoCalls[callId].router.close();
|
videoCalls[callId].router.close();
|
||||||
delete videoCalls[callId].router;
|
delete videoCalls[callId];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user