Commit Graph

58 Commits

Author SHA1 Message Date
Saxon Nelson-Milton bcbb187bef vidforward: add config file watcher
This change adds a file watcher and then uses this file watcher
to perform updates based on changes in a configuration file. This
configuration file contains logging parameters for the time being
in the hope that it will help with debugging.

Testing was also added for this functionality.
2023-06-21 19:48:02 +09:30
Saxon Nelson-Milton 7055edb525 cmd/vidforward: start revid pipeline on load 2023-03-12 08:39:21 +10:30
ausocean-david d1aa224023 Audiofiltering:
Add amplifying capabilities, using Filter.Upper as the factor for amplification
2023-02-10 21:46:21 +10:30
Saxon Nelson-Milton 5eaed275ab Bump required iot version in go.mod
Also track version and display on start up.
2023-02-08 21:35:17 +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 842e2a2d93 Add functionality for broadcastManager state save
This change adds functionality for broadcastManager state save.
This is done by marshalling the broadcastManager and saving to a
file. Loading is performed by unmarshalling an re-populating a
broadcastManager value. Testing has been added for this
functionality. Other functionality has been added a side effect.
2023-02-04 12:29:47 +10:30
ausocean-david 70afcdb816 Audiofiltering:
Add amplifying capabilities, using Filter.Upper as the factor for amplification
2023-01-18 14:10:32 +10:30
ausocean-david d029038db9 Audiofiltering:
Interface the function with pre-existing data structures. The filters can now be generated into a filter type using a generic Generate function.
This generates a filter off of the specifications within the filter struct. There is a generic Apply function which takes in a buffer of PCM data (defined in pcm.go),
and outputs to a []byte.
2022-12-24 02:28:15 +10:30
Saxon Nelson-Milton 8f8b9ca0f4 cmd/vidforward: add watchdog notifier
This change adds a "watchdog notifier" utility which tracks the
health of request handlers and notifies an external systemd
watchdog if everything looks good. This allows us to cause a
termination if any request handlers get hung.
2022-12-05 19:54:14 +10:30
Saxon Nelson-Milton f3cf74ce51 cmd/vidforward: add slate image write functionality
This includes adding facilities to handle termination signals
and err handling. Some modifications have been made to the file
input to accomodate the concurrency requirements. The slate
read mechanism is still fairly rudimentary and can only read
from a hardcoded file, but at this stage is for prototyping
purposes.
2022-11-26 13:38:25 +10:30
Saxon Nelson-Milton cb31c5de9b Update to latest utils ver 2022-11-20 12:17:21 +10:30
Saxon Nelson-Milton 3101d21d99 cmd/rv: adding rv upgrade function. init: refactor Makefile and scripts for more flexibility 2022-06-07 15:12:08 +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 25b4b271a1 updating required iot version and making appropriate changes to code 2022-05-25 15:01:24 +09:30
Russell Stanley fea59f4a07 added gonum stat library, moved plotResults to test file 2022-02-01 17:04:38 +10:30
Saxon Nelson-Milton b97cc3c8c7 turbidity files tagged for (not) nocv 2022-02-01 16:36:42 +10:30
Saxon Nelson-Milton d1d5bac03a fixing go mod 2022-01-13 16:08:02 +10:30
Saxon Nelson-Milton 16d7a16762 codec/mjpeg/lex & lex_test.go: modified Lex to work with thumbnailed JPEG images and fixed Lex tests. 2021-01-16 16:45:04 +10:30
Saxon Nelson-Milton a4a409b4f5 exp/rvcl: adding default config option and opening VLC in the case of RTP output
If no config is given as arguments or file, then a default config is used. This is file input (25 FPS) with MPEG-TS packetization and RTP output. If RTP output is selected, a VLC window to receive the
stream is opened.
2020-12-20 12:03:46 +10:30
Trek H 828c50f7ae treat: bump to iot v1.3.0 2020-10-21 11:55:02 +10:30
Trek H c6bf651f56 gomod: update iot version 2020-09-04 15:47:56 +09:30
Trek H 0cd7b8686c treatment: go mod tidy 2020-08-22 10:41:00 +09:30
Trek H 2a1125b7e7 treatment: upgrade iot version used 2020-08-22 10:36:16 +09:30
Trek H 5b035a6e77 treatment: included rpi support, renew cmd 2020-08-21 21:21:13 +09:30
Saxon 94825f3db9 cmd/treatment: wrote driver to handle audio playback and recording for sound check 2020-08-14 15:40:22 +09:30
Saxon 8d7be149f0 revid/config: add logger suppression var Suppress to Variables slice and Config struct 2020-05-20 00:11:14 +09:30
Saxon Milton ce50b5fbd1 Merged in nicer-update-func (pull request #411)
revid/config: variables struct providing names, types, update and validation

Approved-by: Trek Hopton <trek.hopton@gmail.com>
2020-05-19 06:02:02 +00:00
Scott 6dab83df3e use iot v1.2.14 2020-02-06 14:20:05 +10:30
Ella Pietraroia ed35bd83cb basic filter that does not use gocv for motion detection 2020-01-31 11:11:00 +10:30
Scott 7419bdff7a Using utils v1.2.13 2020-01-24 15:47:45 +10:30
Scott 44508fd269 use iot v1.2.13 2020-01-24 15:36:27 +10:30
Scott 0cfa93a314 Uses iot v1.2.12 2020-01-22 16:34:20 +10:30
Scott 8c82a03c25 cmd/revid-cli/main.go: Renamed SendLogs to Send. 2020-01-20 16:20:35 +10:30
Scott be3f82616b Increased iot version to v1.2.11 2020-01-09 11:41:09 +10:30
Saxon Milton be27d17c7a go.mod updated to use utils version with vring 2020-01-08 01:51:55 +00:00
Scott 322ebcfa81 Outputs variable uses the enums var type 2020-01-02 10:24:58 +10:30
Ella Pietraroia c4d809be27 Filter interface take 2
This branch was made because we were having problems with rebasing the original filter-interface branch. Filter-interface was used to make interface for filters and adding into pipeline made a new file (filter.go) that conatins package Filter. This package has the filter interface, with one filter, NoOp. More filters can be added. The filtering stage was placed inbetween lexing and encoding by changing the LexTo function to have the filter as it's destination and making the destination of the filter to be r.encoders
2019-12-20 10:42:51 +10:30
Scott f00918a73d Revid uses netsender to report variable types
Variable type data kept in revid/config/config.go
Supports variadic new function in netsender
Updated revid to use iot v1.2.9
2019-12-18 09:34:04 +10:30
Saxon e1712773e1 Added gocv experimental code with testing files 2019-12-16 12:48:10 +10:30
scruzin 521fda86e5 Use ausocean/iot v1.2.8. 2019-11-23 19:21:49 +10:30
scruzin f63eac7acc Use ausocean/utils v1.2.11. 2019-11-22 17:18:41 +10:30
Saxon 274f33e5b2 update go mod 2019-11-13 14:11:29 +10:30
Trek H a0a4537281 input/audio: audio.Device now implements AVDevice 2019-11-11 16:47:23 +10:30
Saxon 1426ff9ff0 update go.mod test repo version to v1.6.0 2019-11-09 19:22:53 +10:30
Saxon 57d73a8d0a created av/device package and sub packages raspivid, geovision, webcam and file
av/device/device.go now contains the AVDevice interface and implementations of this
interface, namely, raspivid, geovision, webcam and file are contained in the packages
av/device/raspivid, av/device/geovision, av/device/webcam and av/device/file
respctively. config.go and testing was also moved to a new package called config.go in
order to remove would be circular dependency between AVDevice implementations and revid.
Modifications were made elsewhere expecting config.Config to be part of the revid package.
2019-11-06 17:44:50 +10:30
Saxon 38cfad7b67 revid: fixing some more bugs
Fixed H264 RTP extractor. Fine tuned some timing regarding geovision setup. Added some more
logging to geovision setup.
2019-10-23 12:48:22 +10:30
Saxon 5995f1a815 protocol/rtcp/client.go: initialise error chan err in constructor rather than Client.Start() function 2019-10-15 16:59:52 +10:30
Saxon 8163a956a9 updated go.mod go version and included test repo 2019-10-15 11:34:01 +10:30
scruzin f32ef80247 Use ausocean/utils v1.2.9. 2019-09-14 11:59:17 +09:30
scruzin 6f6f24b841 Use ausocean/utils v1.2.9. 2019-09-13 17:32:23 +09:30