Fixed microphone mute/unmute for web clients
This commit is contained in:
parent
d2503aa4e6
commit
38d655eee4
1 changed files with 4 additions and 2 deletions
|
@ -168,8 +168,10 @@ class JavascriptInput implements AbstractInput {
|
||||||
} catch {}
|
} catch {}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(this.state != InputState.PAUSED) {
|
if(this.state === InputState.RECORDING) {
|
||||||
return;
|
return true;
|
||||||
|
} else if(this.state === InputState.INITIALIZING) {
|
||||||
|
return InputStartError.EBUSY;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* do it async since if the doStart fails on the first iteration, we're setting the start promise, after it's getting cleared */
|
/* do it async since if the doStart fails on the first iteration, we're setting the start promise, after it's getting cleared */
|
||||||
|
|
Loading…
Add table
Reference in a new issue