ServerToClient
A marker interface for messages sent from the server to the browser.
Types
Link copied to clipboard
data class GotMessage(val from: PeerIdentifier, val message: ClientToClientMessage) : SignalingMessage.ServerToClient
Content copied to clipboard
Indicates an ICE candidate to use when communicating with a given client.
Link copied to clipboard
data class PeerJoined(val peer: PeerIdentifier) : SignalingMessage.ServerToClient
Content copied to clipboard
Indicates that a peer has joined the collaboration session. The client should attempt to connect to this new peer.
Link copied to clipboard
data class PeerLeft(val peer: PeerIdentifier) : SignalingMessage.ServerToClient
Content copied to clipboard
Indicates that a peer has left the collaboration session. The client should stop collaboration with the provided peer.