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

Method AddTo

icecontrol.go:58–60  ·  view source on GitHub ↗

AddTo adds ICE-CONTROLLING to message.

(m *stun.Message)

Source from the content-addressed store, hash-verified

56
57// AddTo adds ICE-CONTROLLING to message.
58func (c AttrControlling) AddTo(m *stun.Message) error {
59 return tiebreaker(c).AddToAs(m, stun.AttrICEControlling)
60}
61
62// GetFrom decodes ICE-CONTROLLING from message.
63func (c *AttrControlling) GetFrom(m *stun.Message) error {

Callers

nothing calls this directly

Calls 2

tiebreakerTypeAlias · 0.85
AddToAsMethod · 0.80

Tested by

no test coverage detected