mirror of https://bitbucket.org/ausocean/av.git
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:
commit
18836f521b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue