Browse Source

hls: set default segment count to 3

pull/509/head
aler9 4 years ago
parent
commit
eb5bab7e58
  1. 2
      internal/conf/conf.go

2
internal/conf/conf.go

@ -320,7 +320,7 @@ func (conf *Conf) CheckAndFillMissing() error { @@ -320,7 +320,7 @@ func (conf *Conf) CheckAndFillMissing() error {
conf.HLSAddress = ":8888"
}
if conf.HLSSegmentCount == 0 {
conf.HLSSegmentCount = 5
conf.HLSSegmentCount = 3
}
if conf.HLSSegmentDuration == 0 {
conf.HLSSegmentDuration = 1 * time.Second

Loading…
Cancel
Save