Fixed microphone mute/unmute for web clients
parent
d2503aa4e6
commit
38d655eee4
|
@ -168,8 +168,10 @@ class JavascriptInput implements AbstractInput {
|
|||
} catch {}
|
||||
}
|
||||
|
||||
if(this.state != InputState.PAUSED) {
|
||||
return;
|
||||
if(this.state === InputState.RECORDING) {
|
||||
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 */
|
||||
|
|
Loading…
Reference in New Issue