send resync to ensure keyframes have been requested

This commit is contained in:
David Zhao
2021-02-06 23:02:21 -08:00
parent 74cf6b226d
commit ae203c27e3
9 changed files with 270 additions and 143 deletions
+2 -1
View File
@@ -25,7 +25,7 @@ type RTCConfig struct {
StunServers []string `yaml:"stun_servers"`
UseExternalIP bool `yaml:"use_external_ip"`
MaxBitrate uint64 `yaml:"max_bandwidth"`
MaxBitrate uint64 `yaml:"max_bitrate"`
MaxBufferTime int `yaml:"max_buffer_time"`
}
@@ -44,6 +44,7 @@ func NewConfig(confString string) (*Config, error) {
StunServers: []string{
"stun.l.google.com:19302",
},
MaxBitrate: 2 * 1024 * 1024, // 3 mbps
},
Redis: RedisConfig{},
Keys: map[string]string{},