Commit Graph

27 Commits

Author SHA1 Message Date
Trek Hopton a266587397 revid: added basic disk and file size checking
* revid: reordered the file write method to exit earlier and remove a flag that wasn't needed
* revid: add comments to MaxFileSize to specify that it is in bytes

Approved-by: Alan Noble
Approved-by: Saxon Milton
2023-10-20 03:29:36 +00:00
Saxon Nelson-Milton f8fe900207 revid: accept multiple RTMP outputs
This change modifies the revid config RTMPURL field to be a slice
instead of a single string. This allows use to have multiple RTMP
outputs.
2023-03-05 08:25:14 +10:30
Saxon Nelson-Milton 4fe01f6899 revid/senders.go: Utilise HTTPAddress variable in config
This change bumps the required iot tag and adds functional option
variadic parameters to the httpSender constructor so that we can
provide the HTTPAddress config variable and modify the httpSend
destination address. In addition to this, we have added an option
for the report callback.
2023-02-04 18:21:19 +10:30
Saxon Nelson-Milton dddfcc256b vidforward & codecutil & mts & device & revid: improved Noop lexer code using ring buffer structure and improved overall commenting and code 2022-09-21 16:47:58 +09:30
Saxon Nelson-Milton b312774b49 cmd/vidforward & revid & device & codec/codecutil: fixes bugs and improving stream quality 2022-09-14 07:44:35 +00:00
Saxon Nelson-Milton 46e97debd5 cmd/vidforward & revid: initial implementation of vidforwarding software 2022-09-09 11:24:29 +09:30
Saxon Milton f9fddcf0e8 Merged in fix-loop (pull request #483)
revid & device/file: removing Loop mode which was conflicting with Loop variable, and improve file input with logging and robustness

Resolves issue #374

Approved-by: Trek Hopton
2022-09-01 05:58:45 +00:00
Saxon Nelson-Milton 862c06b5f3 revid & device/file: removing Loop mode which was conflicting with Loop variable, and improve file input with logging and robustness 2022-08-31 16:58:40 +09:30
Saxon Nelson-Milton 9978e0187c revid/senders.go: using logging.Logger interface 2022-06-08 14:13:14 +09:30
Saxon Nelson-Milton 5eb5992f15 using latest version of utils and using latest logging package 2022-05-27 15:42:58 +09:30
Saxon Nelson-Milton bdb44214a1 rv & revid/{revid.go, pipeline.go}: added probe component to revid and wrote skeleton of probe implementation for turbdidity sensing in rv 2022-02-01 16:25:42 +10:30
Dan Kortschak 05a6b4435a
revid: rename KeyRB* and RB* to refer to pool
This also changes lexically significant strings in configuration text.
2021-05-17 11:18:44 +09:30
Dan Kortschak 7541015730
cmd/audio-netsender,device/alsa,revid: swap out ring buffer for pool buffer
Names of config fields have been left unchanged since they appear to be lexically
coupled to behaviour and so require greater care.
2021-05-17 11:15:38 +09:30
Trek H 1a90a1dbda revid: wrap error from mtsEnc with more info 2021-03-15 11:47:48 +10:30
Trek H bd76fc3449 revid: check the error returned from mtsEnc 2021-03-13 02:33:59 +10:30
Trek H fb4c56d0fa Merge branch 'master' into meta-str 2021-02-22 15:31:06 +10:30
Trek H 778a19f939 codecutil, revid: made codecs represented as strings, updated where used 2021-02-22 15:15:30 +10:30
Trek H 9589719fb6 revid: add rate using timelapse interval for JPEG 2021-02-22 11:45:48 +10:30
Saxon Nelson-Milton 0148c89c7b container/mts/encoder.go & revid: adressing PR feedback 1 2021-01-29 11:18:19 +10:30
Saxon Nelson-Milton b077752462 revid & device/raspistill & container/mts: integrating device/raspistill functionality into revid 2021-01-27 16:49:17 +10:30
Saxon Nelson-Milton af519d61fa codec: renmaed mjpeg package to jpeg and alter terminology throughout av repo to use mjpeg and jpeg terms appropriately. 2021-01-18 15:29:21 +10:30
Trek H 236d2c5f48 pes/codecutils: move SID functionality to pes from codecutils, add PCM and ADPCM encoding options 2020-12-22 12:51:20 +10:30
Saxon Nelson-Milton 6993f136c8 device/file/file.go: simplify AVFile.Read() method 2020-12-21 12:13:45 +10:30
Saxon Nelson-Milton 6506a3021f device/file & revid/pipeline.go: add looping functionality to file device and removing from processFrom 2020-12-19 12:52:49 +10:30
Saxon Nelson-Milton 27c90ad852 running go fmt over repos 2020-12-17 21:38:10 +10:30
Saxon Nelson-Milton e42b0ea428 revid/pipeline.go: improved handling of undefined pipeline permutations
We no longer panic for undefined pipeline permutations that have got past config package validation i.e. it's not possible to crash revid from setting things remotely incorrectly
2020-12-16 15:16:40 +10:30
Saxon Nelson-Milton d7de7b2b5b revid: removed mutex locking and put unexported pipeline specific code in pipeline.go 2020-12-16 13:26:27 +10:30