mirror of
https://github.com/pion/ice.git
synced 2025-10-05 07:26:55 +08:00
Add config to run Agent in Lite mode
Allow the agent to run in Lite mode. This is useful in cases where you never want connectivity checks, and reduces possible attacks surfaces when you have a public IP.
This commit is contained in:

committed by
Sean DuBois

parent
45cb33ebe6
commit
953f36f07f
@@ -57,4 +57,11 @@ var (
|
||||
|
||||
// ErrAddressParseFailed indicates we were unable to parse a candidate address
|
||||
ErrAddressParseFailed = errors.New("failed to parse address")
|
||||
|
||||
// ErrLiteUsingNonHostCandidates indicates non host candidates were selected for a lite agent
|
||||
ErrLiteUsingNonHostCandidates = errors.New("lite agents must only use host candidates")
|
||||
|
||||
// ErrUselessUrlsProvided indicates that one or more URL was provided to the agent but no host
|
||||
// candidate required them
|
||||
ErrUselessUrlsProvided = errors.New("agent does not need URL with selected candidate types")
|
||||
)
|
||||
|
Reference in New Issue
Block a user