fix: re-apply desired device state after EC joins, support mid-call PTT

This commit is contained in:
root
2026-05-14 19:14:29 -04:00
parent 487e884e51
commit 92d6469530
3 changed files with 19 additions and 0 deletions
+5
View File
@@ -101,6 +101,11 @@ export class CallControl extends EventEmitter implements CallControlState {
this.emitStateUpdate();
}
public async forceState(desired: CallControlState) {
this.state = new CallControlState(desired.microphone, desired.video, desired.sound, this.screenshare, this.spotlight);
await this.applyState();
}
public startObserving() {
this.controlMutationObserver.disconnect();