mirror of https://bitbucket.org/ausocean/av.git
GetConfigParam() renamed Param().
This commit is contained in:
parent
41282aa2b4
commit
72d7dc3991
|
@ -296,7 +296,7 @@ func main() {
|
|||
}
|
||||
}
|
||||
}
|
||||
sleepTime, _ := strconv.Atoi(ns.GetConfigParam("mp"))
|
||||
sleepTime, _ := strconv.Atoi(ns.Param("mp"))
|
||||
time.Sleep(time.Duration(sleepTime) * time.Second)
|
||||
}
|
||||
|
||||
|
@ -310,7 +310,7 @@ func main() {
|
|||
// (as distinct from httpSender which just sends video data).
|
||||
func sendTo(ns *netsender.Sender) error {
|
||||
// populate input values, if any
|
||||
inputs := netsender.MakePins(ns.GetConfigParam("ip"), "X")
|
||||
inputs := netsender.MakePins(ns.Param("ip"), "X")
|
||||
for i, pin := range inputs {
|
||||
if pin.Name == "X23" {
|
||||
inputs[i].Value = revidInst.Bitrate()
|
||||
|
|
Loading…
Reference in New Issue