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

Method String

ice.go:74–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72)
73
74func (t GatheringState) String() string {
75 switch t {
76 case GatheringStateNew:
77 return "new"
78 case GatheringStateGathering:
79 return "gathering"
80 case GatheringStateComplete:
81 return "complete"
82 default:
83 return ErrUnknownType.Error()
84 }
85}
86
87// ContinualGatheringPolicy defines the behavior for gathering ICE candidates.
88type ContinualGatheringPolicy int

Callers

nothing calls this directly

Calls 1

ErrorMethod · 0.45

Tested by

no test coverage detected