Documentation
¶
Overview ¶
Package iceconfig describes immutable ICE discovery inputs for a gathering generation.
Index ¶
Constants ¶
const ( MaximumURLs = 8 MaximumURLBytes = 512 )
Variables ¶
var ErrConfiguration = errors.New("invalid ICE connection configuration")
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection struct {
// contains filtered or unexported fields
}
Connection is a snapshot consumed by one gathering generation.
func NewDirect ¶ added in v0.1.6
func NewDirect(discovery []string) (Connection, error)
func (Connection) DiscoveryServers ¶ added in v0.1.6
func (c Connection) DiscoveryServers() []STUNServer
type STUNServer ¶ added in v0.1.6
STUNServer is a UDP discovery endpoint with its default port already applied.
type TURNRelay ¶ added in v0.1.6
type TURNRelay struct {
// contains filtered or unexported fields
}
TURNRelay cannot be passed to a direct attempt, which owns leased host sockets.