From 0553d9cd6a0b70f48f7d758bf876d4211d1fdfe0 Mon Sep 17 00:00:00 2001 From: boufni95 Date: Mon, 27 Jan 2025 21:18:24 +0000 Subject: [PATCH] fix --- src/services/webRTC/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/webRTC/index.ts b/src/services/webRTC/index.ts index 4be68c1e..9efd59df 100644 --- a/src/services/webRTC/index.ts +++ b/src/services/webRTC/index.ts @@ -41,7 +41,7 @@ export default class webRTC { const conn = this.connections[key] const iceCandidate: IceCandidate = JSON.parse(candidate) if (!iceCandidate.candidate) { - await conn.addIceCandidate(null); + await conn.addIceCandidate(undefined); } else { await conn.addIceCandidate(iceCandidate); }