Types

Link copied to clipboard
data class Connect(val connectionConf: ConnectionConf.SfuConnectionConf, val connectionType: <Error class: unknown class> = WebsocketReconnectStrategy.WEBSOCKET_RECONNECT_STRATEGY_UNSPECIFIED) : SfuSocketStateEvent

Event to start a new connection.

Link copied to clipboard

Event to notify the connection was established.

Link copied to clipboard

Event to notify Network is available.

Link copied to clipboard
data class NetworkError(val error: Error.NetworkError, val reconnectStrategy: <Error class: unknown class>) : SfuSocketStateEvent

Event to notify a network Error happened on the WebSocket connection.

Link copied to clipboard

Event to notify Network is not available.

Link copied to clipboard

Event to stop WebSocket connection required by user.

Link copied to clipboard

Event to resume WebSocket connection.

Link copied to clipboard

Event to stop WebSocket connection.

Link copied to clipboard
data class UnrecoverableError(val error: Error.NetworkError) : SfuSocketStateEvent

Event to notify an Unrecoverable Error happened on the WebSocket connection.

Link copied to clipboard

Event to notify some WebSocket event has been lost.