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

Struct candidateBase

candidate_base.go:22–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20)
21
22type candidateBase struct {
23 id string
24 networkType NetworkType
25 candidateType CandidateType
26
27 component uint16
28 address string
29 port int
30 relatedAddress *CandidateRelatedAddress
31 tcpType TCPType
32
33 resolvedAddr net.Addr
34
35 lastSent atomic.Int64
36 lastReceived atomic.Int64
37 conn net.PacketConn
38
39 currAgent *Agent
40 closeCh chan struct{}
41 closedCh chan struct{}
42
43 foundationOverride string
44 priorityOverride uint32
45
46 relayLocalPreference uint16
47
48 remoteCandidateCaches sync.Map // map[AddrPort]Candidate
49 isLocationTracked bool
50 extensions []CandidateExtension
51}
52
53// Save a time reference to calculate monotonic time for candidate last sent/received.
54// nolint: gochecknoglobals

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected