revid/revid.go: updated variable names: RtmpUrl=> RTMPURL, RtpAddress=>RTPAddress and HttpAddress=>HTTPAddress

This commit is contained in:
Saxon 2020-04-27 20:21:32 +09:30
parent 70eb302680
commit 9035669c4c
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 continue
} }
case "RtmpUrl": case "RTMPURL":
r.cfg.RTMPURL = value r.cfg.RTMPURL = value
case "RtpAddress": case "RTPAddress":
r.cfg.RTPAddress = value r.cfg.RTPAddress = value
case "Bitrate": case "Bitrate":
v, err := strconv.Atoi(value) v, err := strconv.Atoi(value)
@ -661,7 +661,7 @@ func (r *Revid) Update(vars map[string]string) error {
break break
} }
r.cfg.Rotation = uint(v) r.cfg.Rotation = uint(v)
case "HttpAddress": case "HTTPAddress":
r.cfg.HTTPAddress = value r.cfg.HTTPAddress = value
case "Quantization": case "Quantization":
v, err := strconv.Atoi(value) v, err := strconv.Atoi(value)