[mirotalksfu] - fix typo, update dep

هذا الالتزام موجود في:
Miroslav Pejic
2025-06-14 22:03:58 +02:00
الأصل 9b1fb671bb
التزام 0cda9503a3
5 ملفات معدلة مع 7 إضافات و16 حذوفات

عرض الملف

@@ -64,7 +64,7 @@ dev dependencies: {
* @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
* @version 1.8.65
* @version 1.8.66
*
*/
@@ -1748,15 +1748,6 @@ function startServer() {
room.removePeer(socket.id);
}
// If you want to check by peer_uuid as well, you can do:
if (peer_uuid) {
for (const peer of room.getPeers()) {
if (peer.peer_info?.peer_uuid === peer_uuid) {
room.removePeer(peer.id);
}
}
}
room.addPeer(new Peer(socket.id, data));
const activeRooms = getActiveRooms();