Updates
Overview
Integration with the backend has to be done following a strict internal protocol. All kinds of messages are exchanged in a well-defined binary format. We use a Connection class to abstract all the network-related stuff.
Real-time updates
Real-time updates are the way we update our local user state about any transient or persistent change and how we make our applications react to specific changes. For example, when a call offer is received by a user, you want to allow your user to accept, decline, mute, etc.
See below what kinds of updates our backend support.
Transient
Updates that notify about any transient state (i.e. a call offer was received, the user started typing a message).
Persistent
Updates that notify about a permanent change of an entity.
Last updated
