Interface: Signal
Defined in: protocol.ts:142
Opaque WebRTC signaling, forwarded verbatim by the relay — the peer connection's offer/answer/ICE side-channel (D1: video is a track, and a track needs this to exist). The payload is untouched.
peer addresses a specific viewer, because WebRTC is point-to-point while a host can have several: the host sends { peer: <clientId>, … } and the relay routes it to that one client; a client sends no peer, and the relay stamps the sender's id as peer before handing it to the host. (The shape the retired paint stream proved.)
Properties
data
data:
unknown
Defined in: protocol.ts:146
peer?
optionalpeer?:string
Defined in: protocol.ts:145
Target viewer id (host→client); stamped by the relay on client→host.
type
type:
"signal"
Defined in: protocol.ts:143