Some minor fixes for the native client
parent
2d26112884
commit
5a3e1f26ea
|
@ -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();
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue