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

Method SetComponent

candidate_base.go:140–142  ·  view source on GitHub ↗
(component uint16)

Source from the content-addressed store, hash-verified

138}
139
140func (c *candidateBase) SetComponent(component uint16) {
141 c.component = component
142}
143
144// LocalPreference returns the local preference for this candidate.
145func (c *candidateBase) LocalPreference() uint16 { //nolint:cyclop

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected