single-port mode (beta)

This commit is contained in:
David Zhao
2021-04-12 22:25:13 -07:00
parent 9a5188d620
commit c2777cd556
5 changed files with 55 additions and 51 deletions
+2 -1
View File
@@ -22,7 +22,8 @@ type Config struct {
}
type RTCConfig struct {
ICETCPPort uint16 `yaml:"ice_tcp_port"`
UDPPort uint16 `yaml:"udp_port"`
TCPPort uint16 `yaml:"tcp_port"`
ICEPortRangeStart uint16 `yaml:"port_range_start"`
ICEPortRangeEnd uint16 `yaml:"port_range_end"`
// for testing, disable UDP