Document tcp fallback (#961)

* Updated docs around TCP fallback

* changed allowFallback to a pointer
This commit is contained in:
David Zhao
2022-08-27 14:59:01 -07:00
committed by GitHub
parent 767d660809
commit aa4f713d1e
3 changed files with 19 additions and 14 deletions
+3 -3
View File
@@ -72,11 +72,11 @@ type RTCConfig struct {
CongestionControl CongestionControlConfig `yaml:"congestion_control,omitempty"`
// allow TCP and TURN/TLS fallback
AllowTCPFallback *bool `yaml:"allow_tcp_fallback,omitempty"`
// for testing, disable UDP
ForceTCP bool `yaml:"force_tcp,omitempty"`
// allow TCP fallback
AllowTCPFallback bool `yaml:"allow_tcp_fallback,omitempty"`
}
type TURNServer struct {