mirror of
https://github.com/owncast/owncast.git
synced 2024-11-22 04:40:37 +03:00
Fix multiple bitrates not being uploaded to s3. Closes #40
This commit is contained in:
parent
34b3806806
commit
3e042866ec
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ func resetDirectories() {
|
|||
os.Remove("webroot/thumbnail.jpg")
|
||||
|
||||
// Create private hls data dirs
|
||||
if len(config.Config.VideoSettings.StreamQualities) == 0 {
|
||||
if len(config.Config.VideoSettings.StreamQualities) != 0 {
|
||||
for index := range config.Config.VideoSettings.StreamQualities {
|
||||
os.MkdirAll(path.Join(config.Config.PrivateHLSPath, strconv.Itoa(index)), 0777)
|
||||
os.MkdirAll(path.Join(config.Config.PublicHLSPath, strconv.Itoa(index)), 0777)
|
||||
|
|
Loading…
Reference in a new issue