SignalingChannel

Out-of-band channel used to exchange SignalingMessages between two WebRTC endpoints during bootstrap. The library does not specify how messages get from one endpoint to the other — that is the implementation's concern (e.g. WebSocket relay, QR code, BroadcastChannel).

Lives in :transport-webrtc rather than :transport-core because it is WebRTC-specific scaffolding.

Functions

Link copied to clipboard
abstract suspend fun open(room: String): SignalingSession

Open a duplex signaling stream scoped to room. Exactly two endpoints are expected to call open with the same room string; what they see is each other's messages.