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

Function WithCheckInterval

agent_options.go:645–655  ·  view source on GitHub ↗

WithCheckInterval sets how often the agent runs connectivity checks while connecting.

(interval time.Duration)

Source from the content-addressed store, hash-verified

643
644// WithCheckInterval sets how often the agent runs connectivity checks while connecting.
645func WithCheckInterval(interval time.Duration) AgentOption {
646 return func(a *Agent) error {
647 if a.constructed {
648 return ErrAgentOptionNotUpdatable
649 }
650
651 a.checkInterval = interval
652
653 return nil
654 }
655}
656
657// WithRenomination enables ICE renomination as described in draft-thatcher-ice-renomination-01.
658// When enabled, the controlling agent can renominate candidate pairs multiple times

Callers 2

TestAgentUpdateOptionsFunction · 0.85
TestWithTimeoutOptionsFunction · 0.85

Calls

no outgoing calls

Tested by 2

TestAgentUpdateOptionsFunction · 0.68
TestWithTimeoutOptionsFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…