mirror of
https://github.com/bluenviron/mediamtx
synced 2025-02-22 22:56:52 +00:00
hls: set default segment count to 3
This commit is contained in:
parent
67e0db13ab
commit
eb5bab7e58
@ -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…
Reference in New Issue
Block a user