mirror of https://bitbucket.org/ausocean/av.git
revid/revid.go: updated variable names: RtmpUrl=> RTMPURL, RtpAddress=>RTPAddress and HttpAddress=>HTTPAddress
This commit is contained in:
parent
70eb302680
commit
9035669c4c
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue