Merged in fix-rtmpurl-var-name (pull request #399)

revid/revid.go: updated variable names: RtmpUrl=> RTMPURL, RtpAddress=>RTPAddress and HttpAddress=>HTTPAddress
This commit is contained in:
Saxon Milton 2020-04-27 10:56:22 +00:00
commit 18836f521b
1 changed files with 3 additions and 3 deletions

View File

@ -618,9 +618,9 @@ func (r *Revid) Update(vars map[string]string) error {
continue
}
case "RtmpUrl":
case "RTMPURL":
r.cfg.RTMPURL = value
case "RtpAddress":
case "RTPAddress":
r.cfg.RTPAddress = value
case "Bitrate":
v, err := strconv.Atoi(value)
@ -661,7 +661,7 @@ func (r *Revid) Update(vars map[string]string) error {
break
}
r.cfg.Rotation = uint(v)
case "HttpAddress":
case "HTTPAddress":
r.cfg.HTTPAddress = value
case "Quantization":
v, err := strconv.Atoi(value)