Appearance
Interface: CallState
Properties
| Property | Type | Description |
|---|---|---|
answeredAt | number | null | Only ever what a server told us. null until CallStarted arrives. |
answeredBy | string | null | - |
direction | CallDirection | - |
endedAt | number | null | - |
endReason | CallEndReason | null | - |
expiresAt | number | null | Absolute, from IncomingInviteEvent.expires_at, so a client that was asleep decides for itself rather than trusting a countdown it never saw start. Null on an outgoing call. |
media | CallMedia | - |
peers | string[] | The other side's identity as this client knows it: the caller on an incoming call, the invitees on an outgoing one — and on a queue call, nobody until a member answers, then that member. |
queue | QueueProgress | null | Null on a direct call. |
responding | "accept" | "reject" | "cancel" | null | Set locally the moment accept/reject is sent, so a second tap is refused without a round trip. Cleared if the request fails. |
roomSid | string | - |
sid | string | - |
status | CallStatus | - |