mirror of https://bitbucket.org/ausocean/av.git
revid: commiting unstaged stuff
This commit is contained in:
parent
338bc53e24
commit
4c01514b41
|
@ -235,6 +235,8 @@ func handleFlags() {
|
||||||
config.Packetization = revid.Mpegts
|
config.Packetization = revid.Mpegts
|
||||||
case "Flv":
|
case "Flv":
|
||||||
config.Packetization = revid.Flv
|
config.Packetization = revid.Flv
|
||||||
|
case "MpegtsRtp":
|
||||||
|
config.Packetization = revid.MpegtsRtp
|
||||||
case "":
|
case "":
|
||||||
default:
|
default:
|
||||||
logger.Log(smartlogger.Error, pkg+"bad packetization argument")
|
logger.Log(smartlogger.Error, pkg+"bad packetization argument")
|
||||||
|
@ -297,7 +299,7 @@ func handleFlags() {
|
||||||
config.Quantization = *configFlags[quantizationPtr]
|
config.Quantization = *configFlags[quantizationPtr]
|
||||||
config.Timeout = *configFlags[timeoutPtr]
|
config.Timeout = *configFlags[timeoutPtr]
|
||||||
config.IntraRefreshPeriod = *configFlags[intraRefreshPeriodPtr]
|
config.IntraRefreshPeriod = *configFlags[intraRefreshPeriodPtr]
|
||||||
config.RtpAddress = *configFlags[RtpAddrPtr]
|
config.RtpAddress = *configFlags[rtpAddrPtr]
|
||||||
}
|
}
|
||||||
|
|
||||||
// initialize then run the main NetSender client
|
// initialize then run the main NetSender client
|
||||||
|
|
Loading…
Reference in New Issue