mirror of
https://github.com/netbirdio/ice.git
synced 2026-05-22 17:10:58 -07:00
Add CandidateTypes to AgentConfig
Allow users to specify CandidateTypes, this allows us to support IceTransportPolicy in pion/webrtc
This commit is contained in:
@@ -148,10 +148,14 @@ type AgentConfig struct {
|
||||
// A keepalive interval of 0 means we never send keepalive packets
|
||||
KeepaliveInterval *time.Duration
|
||||
|
||||
// NetworkTypes is an optional configuration for disabling or enablding
|
||||
// NetworkTypes is an optional configuration for disabling or enabling
|
||||
// support for specific network types.
|
||||
NetworkTypes []NetworkType
|
||||
|
||||
// CandidateTypes is an optional configuration for disabling or enabling
|
||||
// support for specific candidate types.
|
||||
CandidateTypes []CandidateType
|
||||
|
||||
LoggerFactory logging.LoggerFactory
|
||||
|
||||
// taskLoopInterval controls how often our internal task loop runs, this
|
||||
|
||||
Reference in New Issue
Block a user