()
| 72 | ) |
| 73 | |
| 74 | func (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. |
| 88 | type ContinualGatheringPolicy int |