Types

Link copied to clipboard
data class Connect(val connectionConf: ConnectionConf, val connectionType: VideoSocketConnectionType) : VideoSocketStateEvent

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) : VideoSocketStateEvent

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) : VideoSocketStateEvent

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

Link copied to clipboard

Event to notify some WebSocket event has been lost.