Commit Graph

4149 Commits

Author SHA1 Message Date
Saxon Milton 41fd1e345b Merged in config-watcher (pull request #505)
vidforward: add config file watcher

Resolves issue #407

Approved-by: Trek Hopton
2023-06-21 10:21:20 +00:00
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 Milton 853aa31260 Merged in handle-slate-upload (pull request #503)
Add slate request handler

Resolves issue #385

Approved-by: Trek Hopton
Approved-by: David Sutton
2023-06-14 21:23:43 +00:00
Trek Hopton 05c570063b Merged in remove-nocv-make (pull request #504)
removed nocv tag from Makefiles

Approved-by: Saxon Nelson-Milton
2023-05-29 06:03:13 +00:00
Trek H 8eb407e918 removed nocv tag from Makefiles 2023-05-29 15:19:05 +09:30
Saxon Nelson-Milton 382f202bb0 Add slate request handler
This change adds a request handler for /slate. This endpoint can
now be used to upload a new slate file.
2023-05-27 09:42:46 +09:30
David Sutton e078d9f2bc Merged in local-looper (pull request #500)
local-looper

Approved-by: Saxon Milton
Approved-by: Trek Hopton
2023-05-11 05:43:54 +00:00
David Sutton dafb51d34e local-looper: Utilise service watchdog. 2023-05-11 15:13:18 +09:30
David Sutton 6b8b72ccfd local-looper: Add a simplified looper system that is not dependent on network connectivity. 2023-05-11 15:13:18 +09:30
David Sutton 9b64f7bc0e Merged in issue-396-circleci-failing (pull request #501)
Fix CircleCi issues

Approved-by: Trek Hopton
2023-05-05 05:58:55 +00:00
David Sutton f0fedd852d Update go version in .circleci/config.yml 2023-05-01 13:16:55 +09:30
Saxon Milton 05a0ba79df Merged in check-urls-len (pull request #499)
vidforward/file.go: check length of urls on load

Approved-by: David Sutton
2023-03-20 08:09:21 +00:00
Saxon Milton 336784027a Merged in new-revid-function (pull request #498)
vidforward: use consistent revid construction function

Approved-by: David Sutton
2023-03-20 08:07:59 +00:00
Saxon Nelson-Milton 418b33040c vidforward/file.go: check length of urls on load 2023-03-13 12:37:03 +10:30
Saxon Nelson-Milton c82d7a8e55 vidforward: use consistent revid construction function 2023-03-12 19:40:26 +10:30
Saxon Milton a4754e5ead Merged in revid-rtmp-url-slice (pull request #496)
revid: accept multiple RTMP outputs

Approved-by: Alan Noble
2023-03-11 22:59:12 +00:00
Saxon Milton 06a81a2b3b Merged in modify-vidforward-rtmp (pull request #497)
vidforward: modify viforward to accept multiple RTMP URLs

Approved-by: Alan Noble
2023-03-12 09:26:44 +10:30
Saxon Nelson-Milton 7055edb525 cmd/vidforward: start revid pipeline on load 2023-03-12 08:39:21 +10:30
Saxon Nelson-Milton 0059ec1017 vidforward: modify viforward to accept multiple RTMP URLs
This change modifies vidforward to accept multiple RTMP URLs in
its control request handler. This allows for the creation of a
revid pipeline for a mac with multiple RTMP outputs.
2023-03-05 08:39:39 +10:30
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
David Sutton 66daab5e7c Merged in audiofiltering (pull request #495)
Fixes the AudioFilter interface.

Approved-by: Trek Hopton
2023-02-16 04:36:40 +00:00
Saxon Nelson-Milton f9cfbda44f Load broadcast state on startup 2023-02-16 10:18:15 +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 b68da55793 Fix slate path 2023-02-09 01:39:57 +00:00
Saxon Nelson-Milton 96078e1091 Don't do anything about cuff chan receive timeout 2023-02-09 10:46:59 +10:30
Saxon Nelson-Milton dcb9a6be4b Merge branch 'master' of http://bitbucket.org/ausocean/av 2023-02-08 21:29:00 +00:00
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 5f157d93ab Build with no CV by default
Given that most of our camera builds do not require CV, we should
have the makefile default to no CV.
2023-02-08 19:32:56 +10:30
Saxon Nelson-Milton adc62a6442 Improving logging 2023-02-08 17:15:30 +10:30
Saxon Nelson-Milton 683bb923cb Fix various vidforward issues
This change fixes some bugs relating to the Makefile and the
systemd watchdog notifier system. We have also removed the run.sh
script which was the culprit of latter problem (not sure exactly
how, but probably something to do with PIDs).
2023-02-08 16:41:52 +10:30
Saxon Nelson-Milton 7b92d06361 Fix various vidforward issues 2023-02-08 05:49:05 +00:00
Saxon Milton 0f0deaa598 Merged in http-address-variable (pull request #494)
revid/senders.go: Utilise HTTPAddress variable in config

Resolves issue #394
2023-02-04 08:30:48 +00:00
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 Milton 2da3d399d2 Merged in state-save (pull request #493)
Resolves issue #386.

Add functionality for broadcastManager state save
2023-02-04 04:11:48 +00:00
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
David Sutton 94a7971ec2 Merged in audiofiltering (pull request #492)
Audiofiltering:

Implemented audiofilters. Lowpass, HIghpass, Bandpass, Bandstop, Amplifier.

Approved-by: Saxon Milton
Approved-by: Trek Hopton
2023-02-01 02:02:18 +00:00
ausocean-david 70afcdb816 Audiofiltering:
Add amplifying capabilities, using Filter.Upper as the factor for amplification
2023-01-18 14:10:32 +10:30
David Sutton 52a56f3a52 Audiofiltering:
Increase efficiency of convolution algorithm.

Approximately 150x faster. (takes ~4.5s to lowpass filter ~1min of audio)
2022-12-28 16:02:14 +10:30
David Sutton b2d2a41fdc Audiofiltering:
Add amplification filter which uses filter.Upper as factor for amplification
2022-12-28 00:30:30 +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
ausocean-david 75124b4494 Audiofiltering:
Implement bandpass filter by combining lowpass and highpass filters.
2022-12-24 02:28:15 +10:30
ausocean-david 49db1041d3 Audiofiltering:
Improve filter performance by reducing frequency leakage.
2022-12-24 02:28:15 +10:30
ausocean-david fcc7d72b0b Audiofiltering:
Add highpass filter functionality.
2022-12-24 02:28:15 +10:30
ausocean-david 8231379a51 Audiofiltering:
Increase the efficieny and stability of algorithms by making use of waitgroups and goroutines.
2022-12-24 02:28:15 +10:30
ausocean-david 80ab5e4768 Audiofiltering:
Create Lowpass filter with frequency control, with efficient convolution algorithm.
2022-12-24 02:28:15 +10:30
Trek Hopton 18a869abfa Merged in make-flags (pull request #491)
init: add flag for rv build tags in makefile
2022-12-23 01:27:04 +00:00
Trek H 800d3d141a init: add flag for rv build tags 2022-12-23 11:44:06 +10:30
Saxon Milton 2faec86eb8 Merged in add-makefile-etc (pull request #490)
cmd/vidforward: add Makefile and service setup script

Resolves issue #387
2022-12-20 09:12:29 +00:00
Saxon Nelson-Milton 5a07b6ed5f cmd/vidforward: add Makefile and service setup script
This change provides a Makefile that will build the vidforward
service binary and also utilise a script to setup of a systemd
service for this binary.
2022-12-05 20:16:31 +10:30
Saxon Milton e71d8193d6 Merged in watchdog-notifier (pull request #489)
cmd/vidforward: add watchdog notifier

Resolves issue #388.

Approved-by: Alan Noble
Approved-by: Russell Stanley
Approved-by: Trek Hopton
2022-12-05 09:26:24 +00:00