Commit Graph

79 Commits

Author SHA1 Message Date
Dan Kortschak 926763dd74 cmd/revid-cli: make config struct function scoped 2018-12-06 14:04:55 +10:30
Dan Kortschak 00216b444b cmd/revid-cli,revid: clean up flags handling
This is a first step in simplifying and cleaning up the logic for config
and flag handling for revid.
2018-12-05 19:54:52 +10:30
Dan Kortschak d0addcd355 cmd/revid-cli: don't decorate directory path 2018-12-05 19:14:36 +10:30
saxon a421e4cee8 revid-cli: moved todo comment to correct position above output1 and output2 flag declarations 2018-11-30 22:29:20 +10:30
saxon 0afaa07c1e revid-cli: added todo in regards to the flag list 2018-11-28 15:29:54 +10:30
saxon 218dcfb8b2 revid-cli: removed concept of mpegtsrtp packetization as not needed anymore 2018-11-25 23:24:03 +10:30
saxon cedc63a0b5 revid: got rid of debug prints 2018-11-21 18:16:10 +10:30
saxon 315ba6bd76 revid: back to working state 2018-11-21 18:14:36 +10:30
saxon 4c01514b41 revid: commiting unstaged stuff 2018-11-21 17:30:46 +10:30
saxon 589ec15259 revid-cli: made -Output=Rtp to mean rtp over udp 2018-11-21 17:30:46 +10:30
saxon fce0937810 rtp: wrote some code so that config validated udp and rtp stuff as well 2018-11-21 17:30:46 +10:30
saxon c0e6ba2a5b rtp: checking for udp output and rtp packetisation in revid such that the right sender and encoder is selected 2018-11-21 17:30:46 +10:30
saxon f82c26ee62 rtp: added udp output and rtp packetisation options to revid-cli 2018-11-21 17:30:19 +10:30
Saxon Milton 49e8220a25 Merged in av-logging-update (pull request #61)
revid-cli: stopped using config.Verbosity and started using config.LogLevl to fix errors
2018-09-22 05:52:02 +00:00
saxon 3d85a4471a revid-cli: stopped using config.Verbosity and started using config.LogLevl to fix errors 2018-09-22 15:20:15 +09:30
Saxon Milton be1bf3ef77 Merged in av-logging-update (pull request #57)
av-logging-update

Approved-by: kortschak <dan@kortschak.io>
2018-09-22 05:40:50 +00:00
saxon 1a2fa72e58 revid-cli: removed switch to set config verbosity - netsender already does this 2018-09-22 14:35:41 +09:30
saxon 9c56d608b3 revid-cli: passing logger to ns.Init 2018-09-21 14:42:50 +09:30
saxon 45deda6c75 revid-cli: using fatal log type if revid doesn't run 2018-09-20 11:40:12 +09:30
saxon 1f68da5bfc revid-cli: removed uppercase and exclamation marks in logging messages within main.go 2018-09-20 11:38:08 +09:30
saxon 535f448375 revid-cli: fixed flag description for logging path 2018-09-20 11:35:35 +09:30
saxon 3e2800a18a revid-cli: removed space in pkg name string 2018-09-20 11:18:11 +09:30
saxon 35f12e9460 revid-cli: removed binary file from staged files 2018-09-19 22:38:51 +09:30
saxon 5e186a7941 revid-cli: added package name to logging messages 2018-09-19 22:29:10 +09:30
saxon 4d58f45368 revid-cli: fixed grammatical error in comment 2018-09-19 22:20:48 +09:30
saxon 03f56dba2c revid-cli: fixed conflict 2018-09-19 22:18:45 +09:30
saxon c4d0f2ccbc revid-cli: simplified global var initialisation for configFlags 2018-09-15 12:31:20 +09:30
Alan Noble 515e63802a Ignore unexpected global vars. 2018-09-13 22:03:45 +00:00
saxon 852e714d13 revid-cli: added key value paris to log messages 2018-09-13 12:14:23 +09:30
saxon bee7d82247 main: fixed profile.go conflict 2018-09-12 11:13:47 +09:30
saxon 9efc215089 main: made flags global so that handleFlags can access 2018-09-12 11:11:48 +09:30
saxon b6ad8adc83 main: moved flag.Parse() into handlFlags func to clean things up 2018-09-12 11:00:04 +09:30
saxon 575edd62a2 main: fixed errors with logging int revid-cli's main.go 2018-09-12 10:57:56 +09:30
saxon d05132baf3 main: adjusted defaultLogPath to /var/log 2018-09-11 16:19:02 +09:30
saxon 501ec544e8 main: using new logging for log calls in main.go for revid-cli 2018-09-11 10:02:59 +09:30
saxon a9ee0eea6d main: modified command line flags for verbosity and added command line flag for logger path. Also created func to handle flags to make things cleaner 2018-09-11 08:55:45 +09:30
Dan Kortschak c681ec5c85 circle: add test invocation and make vet quiet 2018-09-10 21:19:16 +09:30
saxon 51d161ee10 main: created global smartlogger.Logger ptr and create default log pathpath 2018-09-10 18:49:09 +09:30
saxon 0def69f012 revid: added flag options to usage output 2018-08-22 13:45:20 +09:30
Alan Noble 2d4a3bf70a Require GOPATH. 2018-08-20 17:43:56 +09:30
Alan Noble 1e9c042c02 BaseDir is always under /home/pi plus extra error checking. 2018-08-20 09:03:05 +09:30
Dan Kortschak d7525e0a47 cmd/revid-cli: add profiling support 2018-07-05 20:54:10 +09:30
Dan Kortschak 353d2cfcc7 revid,revid-cli: remove non-functional RTP mention and add MPEGTS config option 2018-06-30 21:50:55 +09:30
Alan Noble dd9e7751e5 Skip looping for X23 when rv is nil. 2018-06-28 16:13:06 +09:30
Alan Noble 796aaa9d95 Start revid if !paused. 2018-06-28 16:01:15 +09:30
Alan Noble 0daaf89154 Defend against nil rv in send(). 2018-06-28 15:31:34 +09:30
Alan Noble 9dd53b58a0 Initialize vs by calling VarSum() before looping. 2018-06-28 14:34:05 +09:30
Alan Noble 99ef1d0727 PR feedback and some other clean-up. 2018-06-27 07:50:05 +09:30
Alan Noble 1645b759f1 Added ns to Revid struct, so it could be exposed as a httpSender, and refactored revid-cli accordingly. 2018-06-26 15:53:55 +09:30
Alan Noble 1383fd8b91 Ignore system params in updateRevid(). 2018-06-25 11:26:08 +09:30