mirror of https://bitbucket.org/ausocean/av.git
fixing some more errors
This commit is contained in:
parent
2abcc6fb76
commit
c01e10901d
10
RevidCLI.go
10
RevidCLI.go
|
@ -45,7 +45,7 @@ const (
|
|||
packetizationPtr = 4
|
||||
quantizationModePtr = 5
|
||||
verbosityPtr = 6
|
||||
framesPerClipPrt = 7
|
||||
framesPerClipPtr = 7
|
||||
rtmpUrlPtr = 8
|
||||
bitratePtr = 9
|
||||
outputFileNamePtr = 10
|
||||
|
@ -142,7 +142,7 @@ func main() {
|
|||
config.RtmpMethod = revid.LibRtmp
|
||||
}
|
||||
|
||||
switch *configFlags[packetisationPtr] {
|
||||
switch *configFlags[packetizationPtr] {
|
||||
case "None":
|
||||
config.Packetization = revid.None
|
||||
case "Rtp":
|
||||
|
@ -153,9 +153,9 @@ func main() {
|
|||
|
||||
switch *configFlags[quantizationModePtr] {
|
||||
case "QuantizationOn":
|
||||
config.Quantization = revid.QuantizationOn
|
||||
config.QuantizationMode = revid.QuantizationOn
|
||||
case "QuantizationOff":
|
||||
config.Quantization = revid.QuantizationOff
|
||||
config.QuantizationMode = revid.QuantizationOff
|
||||
}
|
||||
|
||||
switch *configFlags[verbosityPtr] {
|
||||
|
@ -191,7 +191,7 @@ func main() {
|
|||
// If we're not running a netsender session then we run revid for the amount
|
||||
// of time the user defined or the default 2 days
|
||||
time.Sleep( time.Duration(*runDurationPtr) * time.Second )
|
||||
revid.Stop()
|
||||
revidInst.Stop()
|
||||
}
|
||||
|
||||
func netsenderInit() {
|
||||
|
|
Loading…
Reference in New Issue