Skip to content

Commit 4ed8c93

Browse files
Remove browser tab mic indicator
by stopping micStream tracks
1 parent 5907c05 commit 4ed8c93

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/board/audio/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ export class BoardAudio {
226226
recorder.disconnect();
227227
gain.disconnect();
228228
source.disconnect();
229+
micStream.getTracks().forEach(track => track.stop())
229230
this.stopActiveRecording = undefined;
230231
};
231232
}

0 commit comments

Comments
 (0)