Package io.github.alexandrepiveteau.echo.webrtc.client
Types
A Peer represents a remote peer, and the associated PeerToPeerConnection. Peers have a lifecycle, and may be cancelled when they're not reachable anymore.
An interface representing a connection with a remote peer. A PeerToPeerConnection can send and receive messages, and is connected to another peer.
An interface representing a signaling server, which provides information about the currently connected peers, as well as ways to create a ReceiveExchange with any of the remote peers from the signaling server.
Functions
Syncs the SendExchange to the peers available in the SignalingServer. The synchronisation process won't terminate, but may be cancelled or throw an exception if the communication channel gets closed.
Invokes the given block with a SignalingServer available at the provided request.
Invokes the given block with a SignalingServer available at the provided request.