automatic configuration of TURN, with per-room credentials. version 0.6.0

This commit is contained in:
David Zhao
2021-03-07 23:30:21 -08:00
parent 048cdf9751
commit e20c831c14
18 changed files with 220 additions and 79 deletions
+2 -2
View File
@@ -267,8 +267,8 @@ func printPorts(c *cli.Context) error {
if conf.TURN.Enabled {
udpPorts = append(udpPorts, fmt.Sprintf("%d-%d", conf.TURN.PortRangeStart, conf.TURN.PortRangeEnd))
udpPorts = append(udpPorts, strconv.Itoa(conf.TURN.ListenPort))
tcpPorts = append(tcpPorts, strconv.Itoa(conf.TURN.ListenPort))
udpPorts = append(udpPorts, strconv.Itoa(conf.TURN.TCPPort))
tcpPorts = append(tcpPorts, strconv.Itoa(conf.TURN.TCPPort))
}
fmt.Println("TCP Ports")