automatic configuration of TURN, with per-room credentials. version 0.6.0
This commit is contained in:
+2
-2
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user