Package io.getstream.video.android.core.socket
See: Description
-
Class Summary Class Description CoordinatorSocket The Coordinator sockets send a user authentication request SocketError ErrorResponse PermanentError DisconnectReason PersistentSocket PersistentSocket architecture Healthmonitor that sends a ping every 30 seconds
Automatically reconnects if it encounters a temp failure
Raises the error if there is a permanent failure
Flow to avoid concurrency related bugs
Ability to wait till the socket is connected (important to prevent race conditions)
SfuSocket The SFU socket is slightly different from the coordinator socket It sends a JoinRequest to authenticate SFU socket uses binary instead of text Connected We are connected, the most common state DisconnectedTemporarily A temporary error broken the connection, socket will retry DisconnectedPermanently A permanent error broken the connection, socket will not retry SocketState -
Object Summary Object Description ByRequest NotConnected We haven't started to connect yet Connecting Connection is in progress NetworkDisconnected There is no internet available DisconnectedByRequest You called socket.