Commit Graph

3906 Commits

Author SHA1 Message Date
Saxon Milton 0cae97b9ee removing stuff we don't need 2018-06-29 01:06:40 +09:30
Saxon Milton bbb3ddf00f changing package names to hopefully something more go idiomatic 2018-06-28 22:54:20 +09:30
Saxon Milton a235398961 Removed testing file that's being moved to test repos 2018-06-28 22:32:21 +09:30
Saxon Milton ede44cefe1 for some reason didn't track changes, committing again 2018-06-28 21:56:06 +09:30
Saxon Milton f1aefcdfeb added appropriate test files and ran go fmt over av 2018-06-28 21:52:48 +09:30
Dan Kortschak 3990482ac4 rtmp: actually use our rtmp
Previously ld was linking with the system-wide lib, which is a
dependency of apt, and so present on the system by default. We could
drop our code here, but at the moment it is convenient to leave for
devugging purposes.
2018-06-28 21:09:21 +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
Saxon Milton 55db8289ca Still writing 2018-06-28 14:20:57 +09:30
Saxon Milton bf59e8adfc Removed redundant passing of byte length 2018-06-28 12:51:23 +09:30
Saxon Milton 9d186f51bb started porting rtmpWrite func 2018-06-28 03:32:16 +09:30
Saxon Milton 6b4ece57e5 Started moving functionality to rtmp.go 2018-06-28 02:53:50 +09:30
Alan Noble 5ff305e71a Merged in netsender-sharing (pull request #36)
Added ns to Revid struct, so it could be exposed as a httpSender, and refactored revid-cli accordingly.

Approved-by: kortschak <dan@kortschak.io>
2018-06-27 02:05:17 +00:00
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
Dan Kortschak 62147e160d parse: new package to replace parser
This package provides stateless parsing, simplifying inclusing in
concurrent use and reducing synchronisation.

Use depends on a chan writer type until the generator package is
simplified.
2018-06-25 23:22:38 +09:30
Alan Noble 1383fd8b91 Ignore system params in updateRevid(). 2018-06-25 11:26:08 +09:30
Alan Noble 1e2396716e Removed all command-line params but -NetSender so that all (non-default) params are taken from NetReceiver. 2018-06-25 11:17:57 +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 41282aa2b4 Merge branch 'master' of https://bitbucket.org/ausocean/av 2018-06-24 22:02:03 +09:30
Alan Noble 3396b12ade @echo => echo 2018-06-24 22:01:32 +09:30
Dan Kortschak 647641bed6 revid: clean up input handling 2018-06-24 21:31:09 +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 48aa73be9c Show IP addresses. 2018-06-23 15:35:53 +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 590136197b Remove compiled objects and binaries. 2018-06-22 18:18:46 +09:30
Alan Noble 2cd154e769 Checkout forcibly. 2018-06-22 18:14:07 +09:30
Alan Noble 82977fba23 Added clean target. 2018-06-22 16:01:13 +09:30
Alan Noble 60c09c2800 Merge branch 'master' of https://bitbucket.org/ausocean/av 2018-06-22 15:57:33 +09:30
Alan Noble a8b56ddb19 Moved test data to test repo. 2018-06-22 15:53:13 +09:30
Dan Kortschak fba613ab60 revid: make FramesPerClip an int 2018-06-20 14:38:34 +09:30
Dan Kortschak 2dda2cfac9 rtmp: commit changes missed in 3a3181 2018-06-20 14:32:50 +09:30
Dan Kortschak ec3eefeb37 revid: do not double report returned error 2018-06-20 13:59:38 +09:30
Dan Kortschak 3a31812e0a rtmp: pull verbosity out of C code 2018-06-20 13:56:40 +09:30
Dan Kortschak 090ad746a6 revid: change default frames/clip to 7 for http
This increases effective bitrate to 88kpbs from 12kbps with fpc=1.
2018-06-20 12:48:12 +09:30
Dan Kortschak 89e5178fde revid: release ring resource quickly for httpSender 2018-06-20 12:42:36 +09:30
kortschak 5840e483b8 Merged in ring/bytes (pull request #35)
revid: use direct access to ring.Chunk bytes
2018-06-18 22:52:55 +00:00
kortschak 74a2891ed7 Merged in revid/httpaddress (pull request #32)
revid: use correct address for HTTP
2018-06-18 22:49:24 +00:00
Dan Kortschak 1800d2f6da revid: use direct access to ring.Chunk bytes 2018-06-18 19:30:00 +09:30
kortschak 62cbef4ed6 Merged in blitzwechseln (pull request #34)
all: make naming more idiomatic
2018-06-17 12:30:10 +00:00
Dan Kortschak cb4dea71d6 cmd/revid-cli: match change to netsender 2018-06-17 21:53:03 +09:30
Dan Kortschak 77cb074ede parser: expose MJPEG documentation 2018-06-17 21:53:03 +09:30
Dan Kortschak 0b0f12431b parser: expose H264 documentation 2018-06-17 21:53:03 +09:30
Dan Kortschak ca5eefa4c3 generator,parser: remove Get prefix from read accessors
Also make user-facing chan exposure a little safer.
2018-06-17 21:52:55 +09:30