feat: Explicit answer/reject for inbound calls (#2504)
This commit is contained in:
committed by
dermotduffy
parent
b9f09b7c4e
commit
f397596ed1
@@ -86,7 +86,11 @@ export class AdvancedCameraCardLive extends LitElement {
|
||||
);
|
||||
}
|
||||
if (changedProps.has('call')) {
|
||||
this._microphoneActionsController.setCallActive(!!this.call);
|
||||
// Gate on `answered`, not mere presence, so `microphone.auto_unmute:
|
||||
// ['call']` doesn't transmit audio during the pre-answer ringing state.
|
||||
// Outbound calls are answered at construction; inbound calls only after
|
||||
// the user accepts.
|
||||
this._microphoneActionsController.setCallAnswered(!!this.call?.answered);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user