From ccdde858c7402620d2003d2b0757ea51d15682c5 Mon Sep 17 00:00:00 2001 From: Christopher Poile Date: Mon, 3 Oct 2022 13:10:23 -0400 Subject: [PATCH] handle candidate message (#6662) --- app/products/calls/connection.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/products/calls/connection.ts b/app/products/calls/connection.ts index 29f72f43b..008f4615c 100644 --- a/app/products/calls/connection.ts +++ b/app/products/calls/connection.ts @@ -203,7 +203,7 @@ export async function newClient(channelID: string, iceServers: ICEServersConfigs ws.on('message', ({data}) => { const msg = JSON.parse(data); - if (msg.type === 'answer' || msg.type === 'offer') { + if (msg.type === 'answer' || msg.type === 'candidate' || msg.type === 'offer') { peer?.signal(data); } });