mirror of https://bitbucket.org/ausocean/av.git
Merged in send-retry-flag (pull request #126)
revid-cli: add sendRetry flag Approved-by: kortschak <dan@kortschak.io> Approved-by: Alan Noble <anoble@gmail.com>
This commit is contained in:
commit
3c9b9efe91
|
@ -137,6 +137,7 @@ func handleFlags() revid.Config {
|
|||
rtpAddrPtr = flag.String("RtpAddr", "", "Rtp destination address: <IP>:<port> (port is generally 6970-6999)")
|
||||
logPathPtr = flag.String("LogPath", defaultLogPath, "The log path")
|
||||
configFilePtr = flag.String("ConfigFile", "", "NetSender config file")
|
||||
sendRetryPtr = flag.Bool("retry", false, "Specify whether a failed send should be retried.")
|
||||
)
|
||||
|
||||
var outputs flagStrings
|
||||
|
@ -254,6 +255,7 @@ func handleFlags() revid.Config {
|
|||
cfg.Quantization = *quantizationPtr
|
||||
cfg.IntraRefreshPeriod = *intraRefreshPeriodPtr
|
||||
cfg.RtpAddress = *rtpAddrPtr
|
||||
cfg.SendRetry = *sendRetryPtr
|
||||
|
||||
return cfg
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue