refine dynacast pause delay (#558)

* refine dynacast pause delay

* fix test
This commit is contained in:
cnderrauber
2022-03-23 16:52:40 +08:00
committed by GitHub
parent 757a59fbcd
commit 534cc01b85
3 changed files with 11 additions and 6 deletions
+2 -2
View File
@@ -114,7 +114,7 @@ type AudioConfig struct {
}
type VideoConfig struct {
SubscribedQualityUpdateThrottle time.Duration `yaml:"subscribed_quality_update_throttle,omitempty"`
DynacastPauseDelay time.Duration `yaml:"dynacast_pause_delay,omitempty"`
}
type RedisConfig struct {
@@ -213,7 +213,7 @@ func NewConfig(confString string, c *cli.Context) (*Config, error) {
SmoothIntervals: 2,
},
Video: VideoConfig{
SubscribedQualityUpdateThrottle: 5 * time.Second,
DynacastPauseDelay: 5 * time.Second,
},
Redis: RedisConfig{},
Room: RoomConfig{