mirror of https://bitbucket.org/ausocean/av.git
Merged in fix-rtmpurl-variable-load (pull request #508)
revid: Don't append Config.RTMPURL Resolves issue #409
This commit is contained in:
commit
a3c526b2e0
|
@ -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)
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue