MCPcopy Create free account
hub / github.com/koding/kite / WebRTCSignalMessage

Struct WebRTCSignalMessage

protocol/webrtc.go:17–26  ·  view source on GitHub ↗

WebRTCSignalMessage represents a signalling message between peers and the singalling server

Source from the content-addressed store, hash-verified

15
16// WebRTCSignalMessage represents a signalling message between peers and the singalling server
17type WebRTCSignalMessage struct {
18 Type string `json:"type,omitempty"`
19 Src string `json:"src,omitempty"`
20 Dst string `json:"dst,omitempty"`
21 Payload json.RawMessage `json:"payload,omitempty"`
22
23 parsedPayload *Payload
24 isParsed bool
25 mu sync.Mutex
26}
27
28// Payload is the content of `payload` in the json
29type Payload struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected