ICE candidate payload.
SDP payload for description messages.
SDP description subtype.
Structured status carried by error messages.
ICE media/data-channel id.
Destination peer identity.
Sending peer identity.
Control-message kind.
Encode the signalling message as JSON text.
Convert to the interoperable signalling JSON object.
Check fields required by the selected message kind.
StaticcreateConstruct and validate a message before sending it to a peer.
StaticfromParse and validate signalling JSON text from an untrusted peer.
StaticfromParse and validate an already-decoded signalling JSON value.
SDP, ICE, or error control message used to negotiate WebRTC.
These messages establish the peer connection only; agent data begins on the resulting WebRtcWireStream. Use create for validated local construction and the JSON helpers at a custom signalling boundary.