Allow for strict ACKs to be disabled or subscriber peer connections (#1410)

This commit is contained in:
Trey Hakanson
2023-02-10 22:51:03 +05:30
committed by GitHub
parent 3e08ff1043
commit ce07914e44
8 changed files with 86 additions and 78 deletions
+2
View File
@@ -82,6 +82,7 @@ type RTCConfig struct {
IPs IPsConfig `yaml:"ips"`
EnableLoopbackCandidate bool `yaml:"enable_loopback_candidate"`
UseMDNS bool `yaml:"use_mdns"`
StrictACKs bool `yaml:"strict_acks"`
// Number of packets to buffer for NACK
PacketBufferSize int `yaml:"packet_buffer_size,omitempty"`
@@ -273,6 +274,7 @@ func NewConfig(confString string, strictMode bool, c *cli.Context, baseFlags []c
ICEPortRangeEnd: 0,
STUNServers: []string{},
PacketBufferSize: 500,
StrictACKs: true,
PLIThrottle: PLIThrottleConfig{
LowQuality: 500 * time.Millisecond,
MidQuality: time.Second,