From 4ed8c931fbd741007c954092e96d6497b974f869 Mon Sep 17 00:00:00 2001 From: Grace Date: Thu, 11 Apr 2024 14:59:51 +0100 Subject: [PATCH] Remove browser tab mic indicator by stopping micStream tracks --- src/board/audio/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/board/audio/index.ts b/src/board/audio/index.ts index 9c069671..78f736d6 100644 --- a/src/board/audio/index.ts +++ b/src/board/audio/index.ts @@ -226,6 +226,7 @@ export class BoardAudio { recorder.disconnect(); gain.disconnect(); source.disconnect(); + micStream.getTracks().forEach(track => track.stop()) this.stopActiveRecording = undefined; }; }