Merged in fix-rtmpurl-variable-load (pull request #508)

revid: Don't append Config.RTMPURL

Resolves issue #409
This commit is contained in:
Saxon Milton 2023-07-24 22:57:14 +00:00
commit a3c526b2e0
1 changed files with 1 additions and 4 deletions

View File

@ -586,10 +586,7 @@ var Variables = []struct {
Type: typeString, Type: typeString,
Update: func(c *Config, v string) { Update: func(c *Config, v string) {
v = strings.ReplaceAll(v, " ", "") v = strings.ReplaceAll(v, " ", "")
split := strings.Split(v, ",") c.RTMPURL = strings.Split(v, ",")
for _, s := range split {
c.RTMPURL = append(c.RTMPURL, s)
}
}, },
}, },
{ {