mirror of
https://github.com/netbirdio/netbird.git
synced 2025-03-13 14:18:47 +01:00
21 lines
489 B
Go
21 lines
489 B
Go
package ice
|
|
|
|
import (
|
|
"github.com/pion/ice/v3"
|
|
)
|
|
|
|
type Config struct {
|
|
// StunTurn is a list of STUN and TURN URLs
|
|
StunTurn *StunTurn // []*stun.URI
|
|
|
|
// InterfaceBlackList is a list of machine interfaces that should be filtered out by ICE Candidate gathering
|
|
// (e.g. if eth0 is in the list, host candidate of this interface won't be used)
|
|
InterfaceBlackList []string
|
|
DisableIPv6Discovery bool
|
|
|
|
UDPMux ice.UDPMux
|
|
UDPMuxSrflx ice.UniversalUDPMux
|
|
|
|
NATExternalIPs []string
|
|
}
|