Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONSignal ¶
func NewJSONSignal ¶
func NewJSONSignal(p *sfu.PeerLocal, l logr.Logger) *JSONSignal
type Join ¶
type Join struct {
SID string `json:"sid"`
UID string `json:"uid"`
Offer webrtc.SessionDescription `json:"offer"`
Config sfu.JoinConfig `json:"config"`
}
Join message sent when initializing a peer connection
type Negotiation ¶
type Negotiation struct {
Desc webrtc.SessionDescription `json:"desc"`
}
Negotiation message sent when renegotiating the peer connection
type Trickle ¶
type Trickle struct {
Target int `json:"target"`
Candidate webrtc.ICECandidateInit `json:"candidate"`
}
Trickle message sent when renegotiating the peer connection
Click to show internal directories.
Click to hide internal directories.