From 9035669c4ce931900fb4688e1265891644f90a16 Mon Sep 17 00:00:00 2001 From: Saxon Date: Mon, 27 Apr 2020 20:21:32 +0930 Subject: [PATCH] revid/revid.go: updated variable names: RtmpUrl=> RTMPURL, RtpAddress=>RTPAddress and HttpAddress=>HTTPAddress --- revid/revid.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/revid/revid.go b/revid/revid.go index 35beadb7..b2b9618f 100644 --- a/revid/revid.go +++ b/revid/revid.go @@ -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)