From 2647b3fac8a83383a650d80d2f6b8650f407bfc6 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Wed, 14 Oct 2020 17:00:35 -0700 Subject: [PATCH] Remove unused value --- config/config.go | 1 - config/defaults.go | 1 - 2 files changed, 2 deletions(-) diff --git a/config/config.go b/config/config.go index 63f8aec32..a5b815d73 100644 --- a/config/config.go +++ b/config/config.go @@ -53,7 +53,6 @@ type videoSettings struct { ChunkLengthInSeconds int `yaml:"chunkLengthInSeconds"` StreamingKey string `yaml:"streamingKey"` StreamQualities []StreamQuality `yaml:"streamQualities"` - OfflineContent string `yaml:"offlineContent"` HighestQualityStreamIndex int `yaml:"-"` } diff --git a/config/defaults.go b/config/defaults.go index faae2f34e..eb7545a7d 100644 --- a/config/defaults.go +++ b/config/defaults.go @@ -13,7 +13,6 @@ func getDefaults() config { defaults.FFMpegPath = getDefaultFFMpegPath() defaults.VideoSettings.ChunkLengthInSeconds = 4 defaults.Files.MaxNumberInPlaylist = 5 - defaults.VideoSettings.OfflineContent = "static/offline.m4v" defaults.YP.Enabled = false defaults.YP.YPServiceURL = "https://yp.owncast.online"