Commit Graph

45 Commits

Author SHA1 Message Date
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
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
Alan Noble 904fa6d7dc Added "Output" case to updateRevid() plus better error checking. 2018-06-25 11:09:56 +09:30
Alan Noble 9d113cc498 Renamed NativeRtmp to just Rtmp - since it is exposed to clients. FfmpegRtmp should be deprecated. 2018-06-25 10:53:26 +09:30
Alan Noble 72d7dc3991 GetConfigParam() renamed Param(). 2018-06-25 10:10:37 +09:30
Alan Noble 4fc6e69b12 Call Log() _after_ initializing Logger. 2018-06-24 19:52:46 +09:30
Alan Noble df36237c22 Log when running in NetSender mode. 2018-06-24 18:31:33 +09:30
Alan Noble 75235f3d82 Initial revision. 2018-06-22 20:56:42 +09:30
Alan Noble c01300eef6 Check for "Paused" mode when starting. 2018-06-22 20:09:03 +09:30
Alan Noble 2cd154e769 Checkout forcibly. 2018-06-22 18:14:07 +09:30
Dan Kortschak fba613ab60 revid: make FramesPerClip an int 2018-06-20 14:38:34 +09:30
Dan Kortschak cb4dea71d6 cmd/revid-cli: match change to netsender 2018-06-17 21:53:03 +09:30
Dan Kortschak 6de4f8c9a6 revid: rename GetBitrate to Bitrate
Also change to int; when we get more than 2Gbs^-1, we'll probably be
using 64 bit devices.
2018-06-17 20:57:52 +09:30
Alan Noble 05c6c376b4 Payload data has now moved onto Pin struct. 2018-06-16 19:04:32 +09:30
Alan Noble 53f923afb1 netsender.MakePins() now takes a 2nd arg. 2018-06-15 19:34:50 +09:30
Alan Noble 82f58ec996 NetReceiver vars updating again. sendTo() now takes a *netsender.Sender. 2018-06-15 17:29:59 +09:30
Alan Noble 3f59d353c7 Netsender changes, notably common X pins now being handled now by the former. 2018-06-14 16:37:57 +09:30
Alan Noble 79fc58af63 netsender.Send now takes the payload param. 2018-06-12 13:30:30 +09:30
Dan Kortschak 3881cb9712 revid: avoid monomorphic interface 2018-06-09 11:31:21 +09:30
Dan Kortschak 165c2ea23e cmd/revid-cli: handle failure to start netsender 2018-06-09 10:16:04 +09:30
Dan Kortschak e2c2093e28 cmd/revid-cli: move creation code to near call site 2018-06-08 22:26:20 +09:30
Dan Kortschak f5a3899e1d cmd/revid-cli: clean up netsender handling 2018-06-08 22:15:14 +09:30
Dan Kortschak 043ff35dfe cmd/revid-cli: separate out loggin consts 2018-06-08 22:14:23 +09:30
Dan Kortschak 41eb46c702 cmd/revid-cli: use time.Duration for durations 2018-06-08 21:52:11 +09:30
kortschak 576815a10f Merged in revid/waiturl (pull request #24)
revid: wait for URL from netreceiver

Approved-by: Alan Noble <anoble@gmail.com>
2018-06-08 00:30:45 +00:00
Alan Noble b3699a8439 Updated to use correct NetReceiver param names, i.e., monPeriod=>mp, inputs=>ip. 2018-06-07 22:02:08 +00:00
Dan Kortschak dee6dec8d4 revid: wait for URL from netreceiver 2018-06-07 21:50:01 +09:30
Alan Noble 16a11ec090 Added utils as a dependency. 2018-06-06 08:53:37 +09:30
Alan Noble 8ab2a5c9e4 Initial revision. 2018-06-06 08:49:14 +09:30
Alan Noble 6241671275 Updated to use latest Netsender interface. 2018-06-01 20:50:56 +09:30
Dan Kortschak baf19f1dc5 all: cleaning up file names and cmd locations 2018-05-31 19:24:20 +09:30