Documentation
¶
Index ¶
- type Chan
- type Join
- type Leave
- type Meet
- func (m *Meet) Answer(ch Chan, negotiation Negotiation) (interface{}, error)
- func (m *Meet) Close()
- func (m *Meet) Join(ch Chan, join Join) (interface{}, error)
- func (m *Meet) Leave(ch Chan, level Leave) (interface{}, error)
- func (m *Meet) Offer(ch Chan, negotiation Negotiation) (interface{}, error)
- func (m *Meet) Trickle(ch Chan, trickle Trickle) (interface{}, error)
- type Negotiation
- type Peer
- type Trickle
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Join ¶
type Join struct { Sid string `json:"sid"` // SID room id Offer webrtc.SessionDescription `json:"offer"` }
Join message sent when initializing a peer connection
type Meet ¶
type Meet struct {
// contains filtered or unexported fields
}
Meet server
func (*Meet) Answer ¶
func (m *Meet) Answer(ch Chan, negotiation Negotiation) (interface{}, error)
Answer peer
type Negotiation ¶
type Negotiation struct {
Desc webrtc.SessionDescription `json:"desc"`
}
Negotiation message sent when renegotiating the peer connection
Click to show internal directories.
Click to hide internal directories.