hls: set default segment count to 3

This commit is contained in:
aler9 2021-08-14 12:27:00 +02:00
parent 67e0db13ab
commit eb5bab7e58

View File

@ -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