Skip to content

Interface: CallState ​

Properties ​

PropertyTypeDescription
answeredAtnumber | nullOnly ever what a server told us. null until CallStarted arrives.
answeredBystring | null-
directionCallDirection-
endedAtnumber | null-
endReasonCallEndReason | null-
expiresAtnumber | nullAbsolute, 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.
mediaCallMedia-
peersstring[]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.
queueQueueProgress | nullNull on a direct call.
responding"accept" | "reject" | "cancel" | nullSet locally the moment accept/reject is sent, so a second tap is refused without a round trip. Cleared if the request fails.
roomSidstring-
sidstring-
statusCallStatus-

Talkline documentation