From 4c01514b41a8d342b8d1aed51b6cf5ddff16c113 Mon Sep 17 00:00:00 2001 From: saxon Date: Wed, 21 Nov 2018 13:44:18 +1030 Subject: [PATCH] revid: commiting unstaged stuff --- cmd/revid-cli/main.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/revid-cli/main.go b/cmd/revid-cli/main.go index d31ebd0c..e069956c 100644 --- a/cmd/revid-cli/main.go +++ b/cmd/revid-cli/main.go @@ -235,6 +235,8 @@ func handleFlags() { config.Packetization = revid.Mpegts case "Flv": config.Packetization = revid.Flv + case "MpegtsRtp": + config.Packetization = revid.MpegtsRtp case "": default: logger.Log(smartlogger.Error, pkg+"bad packetization argument") @@ -297,7 +299,7 @@ func handleFlags() { config.Quantization = *configFlags[quantizationPtr] config.Timeout = *configFlags[timeoutPtr] config.IntraRefreshPeriod = *configFlags[intraRefreshPeriodPtr] - config.RtpAddress = *configFlags[RtpAddrPtr] + config.RtpAddress = *configFlags[rtpAddrPtr] } // initialize then run the main NetSender client