MCPcopy Create free account
hub / github.com/pion/ice / CandidateHostConfig

Struct CandidateHostConfig

candidate_host.go:19–29  ·  view source on GitHub ↗

CandidateHostConfig is the config required to create a new CandidateHost.

Source from the content-addressed store, hash-verified

17
18// CandidateHostConfig is the config required to create a new CandidateHost.
19type CandidateHostConfig struct {
20 CandidateID string
21 Network string
22 Address string
23 Port int
24 Component uint16
25 Priority uint32
26 Foundation string
27 TCPType TCPType
28 IsLocationTracked bool
29}
30
31// NewCandidateHost creates a new host candidate.
32func NewCandidateHost(config *CandidateHostConfig) (*CandidateHost, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected