Commit Graph

3817 Commits

Author SHA1 Message Date
saxon 0efb2abd6c revid: added pkg to logging messages in senders.go 2018-09-20 11:15:27 +09:30
saxon 35f12e9460 revid-cli: removed binary file from staged files 2018-09-19 22:38:51 +09:30
saxon 0f24e19a2a revid: added pkg name to logging messages in revid.go and senders.go 2018-09-19 22:35:15 +09:30
saxon 5c94f556b4 revid: added pkg name to logging messages in config.go 2018-09-19 22:31:58 +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 534610f6b8 revid: removed revid_test.go 2018-09-19 22:15:00 +09:30
saxon d17f7c87e9 revid: fixed raspivid args and logging 2018-09-19 22:02:50 +09:30
saxon c4d0f2ccbc revid-cli: simplified global var initialisation for configFlags 2018-09-15 12:31:20 +09:30
saxon d697b4013d revid: cleaned up key value pairs in config.go 2018-09-15 12:26:05 +09:30
Dan Kortschak ae53aa146e rtmp: remove librtmp 2018-09-15 07:27:27 +09:30
saxon b3a8f2bca3 revid: improved logging key value pairs in revid.go 2018-09-14 12:17:29 +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
kortschak 2bb8765254 Merged in testcleanup (pull request #58)
revid,tools: make tests pass

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2018-09-12 21:24:50 +00:00
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 043ff7779a main: updated logging in h264 file to mpegts file driver for revid 2018-09-11 18:40:45 +09:30
saxon 547e24da7d main: actually used logger in driver for h264 file to flv rtmp 2018-09-11 18:39:52 +09:30
saxon 03eb68d774 main: added new logger to revid driver file for h264 file to flv rtmp 2018-09-11 18:36:13 +09:30
saxon 35cb30ccf9 revid: updated logging in senders.go 2018-09-11 17:15:45 +09:30
saxon 85ab3a5744 revid: updated logging messages in config.go and revid.go to use new logger 2018-09-11 16:56:33 +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 57ff89746c revid: remove non-automated tests 2018-09-10 21:56:15 +09:30
Dan Kortschak 9409c3e41b tools: remove package 2018-09-10 21:55:32 +09:30
kortschak 774c826a61 Merged in spelling (pull request #56)
Spelling

Approved-by: kortschak <dan@kortschak.io>
2018-09-10 11:51:38 +00:00
Dan Kortschak c681ec5c85 circle: add test invocation and make vet quiet 2018-09-10 21:19:16 +09:30
Dan Kortschak ba9742bd99 circle: get testing deps 2018-09-10 21:12:38 +09:30
Dan Kortschak aef165e753 circle: spell circle correctly 2018-09-10 21:02:20 +09:30
kortschak 7f2d4db03d Merged in circleci (pull request #55)
circle: add testing configuration

Approved-by: kortschak <dan@kortschak.io>
2018-09-10 11:30:28 +00:00
Dan Kortschak 88569e39ff circle: add testing configuration
Initially just test whether we can build.
2018-09-10 20:59:17 +09:30
saxon 51d161ee10 main: created global smartlogger.Logger ptr and create default log pathpath 2018-09-10 18:49:09 +09:30
kortschak 3f8082d52e Merged in gardening/simplify (pull request #53)
rtmp: simplify rtmp code and make more type-safe

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2018-09-09 23:32:44 +00:00
Dan Kortschak f0462ee511 rtmp: remove unused fields
reported by honnef.co/go/tools/cmd/unused

rtmp_headers.go:145:2: field sb_ssl is unused (U1000)
rtmp_headers.go:167:2: field subscribepath is unused (U1000)
rtmp_headers.go:168:2: field usherToken is unused (U1000)
rtmp_headers.go:170:2: field pubUser is unused (U1000)
rtmp_headers.go:171:2: field pubPasswd is unused (U1000)
rtmp_headers.go:173:2: field edepth is unused (U1000)
rtmp_headers.go:175:2: field stopTime is unused (U1000)
rtmp_headers.go:180:2: field pFlags is unused (U1000)
rtmp_headers.go:189:2: field bufpos is unused (U1000)
rtmp_headers.go:190:2: field buflen is unused (U1000)
rtmp_headers.go:191:2: field timestamp is unused (U1000)
rtmp_headers.go:195:2: field initialFrameType is unused (U1000)
rtmp_headers.go:197:2: field metaHeader is unused (U1000)
rtmp_headers.go:198:2: field initialFrame is unused (U1000)
rtmp_headers.go:199:2: field nMetaHeaderSize is unused (U1000)
rtmp_headers.go:200:2: field nInitialFrameSize is unused (U1000)
rtmp_headers.go:223:2: field m_mediaStamp is unused (U1000)
rtmp_headers.go:224:2: field m_pauseStamp is unused (U1000)
rtmp_headers.go:245:2: field m_polling is unused (U1000)
rtmp_headers.go:248:2: field m_clientID is unused (U1000)
2018-09-09 19:36:55 +09:30
Dan Kortschak fed685b107 rtmp: fix test 2018-09-08 16:07:00 +09:30
Dan Kortschak 834c2bc632 rtmp: remove C_AVal 2018-09-07 20:40:46 +09:30
Dan Kortschak dde20e1a7b rtmp: more simplification of url parsing 2018-09-07 19:41:55 +09:30
Dan Kortschak 9212bed0ed rtmp: simplify url parsing 2018-09-07 07:02:12 +09:30
Dan Kortschak bf2a2ec7a8 rtmp: remove C_AVal from C_RTMP_METHOD 2018-09-06 19:18:17 +09:30
Dan Kortschak 28f5ec6a47 rtmp: make isready return a bool 2018-09-06 18:40:47 +09:30
Dan Kortschak b1c904ee22 rtmp: reduce CAV/AVC conversions 2018-09-06 18:31:14 +09:30
Dan Kortschak 42f7316f09 rtmp: ensure we catch invalid methods 2018-09-06 18:06:45 +09:30
Dan Kortschak 569cc100fa retmp: simplify big switch 2018-09-06 18:05:01 +09:30
Dan Kortschak 97127030b3 rtmp: remove C_AVal from RTMP type 2018-09-06 16:52:48 +09:30
Dan Kortschak fed9d366c6 rtmp: remove C_Aval from C_AMFObjectProperty 2018-09-06 16:49:25 +09:30