Skip to content

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

If tag storage is an empty string return back an empty slice. Fixes #974

Gabe Kangas8f96726f6dcb
diff --git a/core/data/config.go b/core/data/config.go
index 505f94e02f..c00af9da6a 100644
--- a/core/data/config.go
+++ b/core/data/config.go
@@ -213,6 +213,10 @@ func SetRTMPPortNumber(port float64) error {
// GetServerMetadataTags will return the metadata tags.
func GetServerMetadataTags() []string {
tagsString, err := _datastore.GetString(serverMetadataTagsKey)
+ if tagsString == "" {
+ return []string{}
+ }
+
if err != nil {
log.Traceln(serverMetadataTagsKey, err)
return []string{}