diff --git a/shared/js/ConnectionHandler.ts b/shared/js/ConnectionHandler.ts index 20af90d6..58b011b3 100644 --- a/shared/js/ConnectionHandler.ts +++ b/shared/js/ConnectionHandler.ts @@ -853,14 +853,11 @@ export class ConnectionHandler { async startVoiceRecorder(notifyError: boolean) : Promise<{ state: "success" | "no-input" } | { state: "error", message: string }> { const input = this.getVoiceRecorder()?.input; - console.error("Input: %o", input); if(!input) { - console.error("NO - INPUT"); return { state: "no-input" }; } - console.error("XXX"); - console.log("Input statuis: %o", input.currentState()); + console.error("Input statuis: %o", InputState[input.currentState()], FilterMode[input.getFilterMode()]); if(input.currentState() === InputState.PAUSED && this.connection_state === ConnectionState.CONNECTED) { try { const result = await input.start(); diff --git a/shared/js/voice/RecorderProfile.ts b/shared/js/voice/RecorderProfile.ts index 485d67c4..e7a065d9 100644 --- a/shared/js/voice/RecorderProfile.ts +++ b/shared/js/voice/RecorderProfile.ts @@ -245,7 +245,7 @@ export class RecorderProfile { log.warn(LogCategory.VOICE, tr("Failed to unmount input consumer for profile (%o)"), error); } - this.input.setFilterMode(FilterMode.Block); + /* this.input.setFilterMode(FilterMode.Block); */ } this.callback_input_initialized = undefined;