Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Fix multiple bitrates not being uploaded to s3. Closes #40

Gabe Kangas4297a00b0071
diff --git a/core/core.go b/core/core.go
index 3849efc23f..3fd4d6190f 100644
--- a/core/core.go
+++ b/core/core.go
@@ -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)