From eb5bab7e58d24373f23dcd14e5ee32d75b4e2119 Mon Sep 17 00:00:00 2001 From: aler9 <46489434+aler9@users.noreply.github.com> Date: Sat, 14 Aug 2021 12:27:00 +0200 Subject: [PATCH] hls: set default segment count to 3 --- internal/conf/conf.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/conf/conf.go b/internal/conf/conf.go index e37b5462..fb9e5fee 100644 --- a/internal/conf/conf.go +++ b/internal/conf/conf.go @@ -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