mirror of https://bitbucket.org/ausocean/av.git
revid: got rid of debug prints
This commit is contained in:
parent
315ba6bd76
commit
cedc63a0b5
|
@ -30,7 +30,6 @@ package main
|
|||
|
||||
import (
|
||||
"flag"
|
||||
"fmt"
|
||||
"os"
|
||||
"runtime/pprof"
|
||||
"strconv"
|
||||
|
@ -215,7 +214,6 @@ func handleFlags() {
|
|||
case "Udp":
|
||||
config.Output = revid.Udp
|
||||
case "Rtp":
|
||||
fmt.Println("rtp output")
|
||||
config.Output = revid.Rtp
|
||||
config.Packetization = revid.MpegtsRtp
|
||||
case "":
|
||||
|
|
|
@ -228,7 +228,6 @@ func (r *Revid) reset(config Config) error {
|
|||
case Http:
|
||||
r.destination = newHttpSender(r.ns, r.config.Logger.Log)
|
||||
case Rtp:
|
||||
fmt.Println("here")
|
||||
s, err := newUdpSender(r.config.RtpAddress, r.config.Logger.Log)
|
||||
if err != nil {
|
||||
return err
|
||||
|
@ -280,7 +279,6 @@ func (r *Revid) reset(config Config) error {
|
|||
return err
|
||||
}
|
||||
case MpegtsRtp:
|
||||
fmt.Println("here")
|
||||
r.config.Logger.Log(smartlogger.Info, pkg+"using RTP packetisation")
|
||||
frameRate, _ := strconv.Atoi(r.config.FrameRate)
|
||||
r.encoder = rtp.NewEncoder(&r.packer, frameRate)
|
||||
|
|
Loading…
Reference in New Issue