From e66493b7331fd3a8153f9c9e3a33596465056b8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9D=D0=B8=D0=BA=D0=B8=D1=82=D0=B0=20=D0=9A=D1=80=D1=83?= =?UTF-8?q?=D0=B3=D0=BB=D0=B8=D1=86=D0=BA=D0=B8=D0=B9?= Date: Thu, 2 Oct 2025 04:33:29 +0600 Subject: [PATCH] #2 update --- server/index.mjs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/server/index.mjs b/server/index.mjs index d9dbee7..19c0dee 100644 --- a/server/index.mjs +++ b/server/index.mjs @@ -49,6 +49,14 @@ io.on("connection", (socket) => { console.log("Client connected:", socket.id); socket.emit('producers', Array.from(producers.values()).map(producer => { + console.log(producer); + return { + producerId: producer.id, + kind: producer.kind, + } + })) + + console.log(Array.from(producers.values()).map(producer => { return { producerId: producer.id, kind: producer.kind,