GotMessage

data class GotMessage(val from: PeerIdentifier, val message: ClientToClientMessage) : SignalingMessage.ServerToClient

Indicates an ICE candidate to use when communicating with a given client.

Constructors

Link copied to clipboard
fun GotMessage(from: PeerIdentifier, message: ClientToClientMessage)

Properties

Link copied to clipboard
val from: PeerIdentifier

the identifier of the peer who sent the message.

Link copied to clipboard
val message: ClientToClientMessage

the message received from the peer.