Add ipfilter to exclude ip from candidates gather (#1052)
This commit is contained in:
@@ -64,6 +64,7 @@ type RTCConfig struct {
|
||||
UseExternalIP bool `yaml:"use_external_ip"`
|
||||
UseICELite bool `yaml:"use_ice_lite,omitempty"`
|
||||
Interfaces InterfacesConfig `yaml:"interfaces"`
|
||||
IPs IPsConfig `yaml:"ips"`
|
||||
|
||||
// Number of packets to buffer for NACK
|
||||
PacketBufferSize int `yaml:"packet_buffer_size,omitempty"`
|
||||
@@ -107,6 +108,11 @@ type InterfacesConfig struct {
|
||||
Excludes []string `yaml:"excludes"`
|
||||
}
|
||||
|
||||
type IPsConfig struct {
|
||||
Includes []string `yaml:"includes"`
|
||||
Excludes []string `yaml:"excludes"`
|
||||
}
|
||||
|
||||
type AudioConfig struct {
|
||||
// minimum level to be considered active, 0-127, where 0 is loudest
|
||||
ActiveLevel uint8 `yaml:"active_level"`
|
||||
|
||||
Reference in New Issue
Block a user