Turn with external tls termination (#168)

* add TURN TCP port for plain tcp listener

* use externalTLS turn config option

* remove unused TCPPort config option
This commit is contained in:
lukasIO
2021-12-14 13:36:02 -08:00
committed by GitHub
parent 0d229388ec
commit 0d0a275101
2 changed files with 37 additions and 23 deletions
+7 -6
View File
@@ -103,12 +103,13 @@ type CodecSpec struct {
}
type TURNConfig struct {
Enabled bool `yaml:"enabled"`
Domain string `yaml:"domain"`
CertFile string `yaml:"cert_file"`
KeyFile string `yaml:"key_file"`
TLSPort int `yaml:"tls_port"`
UDPPort int `yaml:"udp_port"`
Enabled bool `yaml:"enabled"`
Domain string `yaml:"domain"`
CertFile string `yaml:"cert_file"`
KeyFile string `yaml:"key_file"`
TLSPort int `yaml:"tls_port"`
UDPPort int `yaml:"udp_port"`
ExternalTLS bool `yaml:"external_tls"`
}
type WebHookConfig struct {