diff --git a/packages/client/src/devices/MicrophoneManager.ts b/packages/client/src/devices/MicrophoneManager.ts index 266a54bae0..a155be417a 100644 --- a/packages/client/src/devices/MicrophoneManager.ts +++ b/packages/client/src/devices/MicrophoneManager.ts @@ -158,6 +158,7 @@ export class MicrophoneManager extends AudioDeviceManager d.deviceId === deviceId)?.label; + let lastCapturesAudio: boolean | undefined; this.noAudioDetectorCleanup = createNoAudioDetector(mediaStream, { noAudioThresholdMs: this.silenceThresholdMs, emitIntervalMs: this.silenceThresholdMs, @@ -169,7 +170,12 @@ export class MicrophoneManager extends AudioDeviceManager