From fcb431388d73d454eb30314ee17385a8ecb515f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5var=20Aamb=C3=B8=20Fosstveit?= Date: Fri, 1 Mar 2024 13:46:37 +0100 Subject: [PATCH] Remove excess logging --- src/middlewares/producerMiddleware.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/middlewares/producerMiddleware.ts b/src/middlewares/producerMiddleware.ts index 3e78fb5..7fef885 100644 --- a/src/middlewares/producerMiddleware.ts +++ b/src/middlewares/producerMiddleware.ts @@ -181,14 +181,14 @@ export const createProducerMiddleware = ({ } }); - producer.on('score', (score) => roomServerConnection.notify({ - method: 'producerScore', - data: { - routerId, - producerId: producer.id, - score - } - })); + // producer.on('score', (score) => roomServerConnection.notify({ + // method: 'producerScore', + // data: { + // routerId, + // producerId: producer.id, + // score + // } + // })); response.id = producer.id; context.handled = true; @@ -408,4 +408,4 @@ export const createProducerMiddleware = ({ }; return middleware; -}; \ No newline at end of file +};