From d3ffd3d33abe9851b347f0c982dedef13c310c43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20Gon=C3=A7alves=20Marchi?= Date: Thu, 14 Nov 2024 09:45:03 -0300 Subject: [PATCH] fix(Call): Fix flash talk indicator (#825) --- package.json | 1 + src/lib/components/Polling.svelte | 3 +- src/lib/components/calling/CallScreen.svelte | 6 +- src/lib/media/Voice.ts | 163 ++++++++++++++----- src/lib/wasm/MultipassStore.ts | 6 +- vite.config.js | 2 + 6 files changed, 135 insertions(+), 46 deletions(-) diff --git a/package.json b/package.json index 66004040d..48f4c9c86 100644 --- a/package.json +++ b/package.json @@ -65,6 +65,7 @@ "trystero": "^0.20.0", "uuid": "^9.0.1", "vite-plugin-node-polyfills": "^0.21.0", + "voice-activity-detection": "^0.0.5", "warp-wasm": "1.5.1" } } diff --git a/src/lib/components/Polling.svelte b/src/lib/components/Polling.svelte index f035d10df..3aed5d4d3 100644 --- a/src/lib/components/Polling.svelte +++ b/src/lib/components/Polling.svelte @@ -1,4 +1,5 @@