Use discreet ports by default due to write bottleneck (#40)

This commit is contained in:
David Zhao
2021-07-06 15:08:46 -07:00
committed by GitHub
parent 08e8827d53
commit 4ec2959950
4 changed files with 35 additions and 29 deletions
+3 -3
View File
@@ -97,9 +97,9 @@ func NewConfig(confString string) (*Config, error) {
RTC: RTCConfig{
UseExternalIP: false,
TCPPort: 7881,
UDPPort: 7882,
ICEPortRangeStart: 0,
ICEPortRangeEnd: 0,
UDPPort: 0,
ICEPortRangeStart: 50000,
ICEPortRangeEnd: 60000,
StunServers: []string{
"stun.l.google.com:19302",
"stun1.l.google.com:19302",