Trek H
0ab1e7c38f
filter: change build tags to allow build withcv
2023-09-06 18:27:55 +09:30
Saxon Milton
a3c526b2e0
Merged in fix-rtmpurl-variable-load (pull request #508 )
...
revid: Don't append Config.RTMPURL
Resolves issue #409
2023-07-24 22:57:14 +00:00
Saxon Nelson-Milton
79b0a49994
revid: don't append Config.RTMPURL
...
Config.RTMPURL was being appended when updated, which means that
it would just continue to grow, and by the time we actually try
to use the RTMP URLs that are stored, we end up using old ones.
Instead this should just be completely replaced.
2023-07-16 06:49:49 +00:00
David Sutton
47b2b1576f
Merged in issue-399-software-channels (pull request #502 )
...
Software Channels
Approved-by: Trek Hopton
2023-07-10 01:30:31 +00:00
David Sutton
bbbd6baecb
Better handle errors in setChannels
2023-07-10 10:35:17 +09:30
David Sutton
701b1f6c3a
Add speakerMode checking for treatment.
2023-07-10 10:35:17 +09:30
Saxon Nelson-Milton
ee7cb57fe5
vidforward: global logger returns underlying logger
...
The globalLogger type wraps a logger.Logger. If you use GetLogger
which gets the global logger (which provides an interface
logger.Logger) a type assertion to JSONLogger will fail, because
the type is actually globalLogger. We need to provide the
underlying logger instead when we return from GetLogger.
2023-06-23 23:40:30 +00:00
Saxon Milton
452d25ac0c
Merged in non-active (pull request #507 )
...
vidforward: improve non-active mechanism
Resolves issue #404
Approved-by: Trek Hopton
Approved-by: David Sutton
2023-06-21 10:50:27 +00:00
Saxon Nelson-Milton
9080a5d2c1
vidforward: improve non-active mechanism
...
This change improves the mechanism that deals with recv requests
from non active macs. We're no only logging every minute so that
we don't clutter the logs. We're also dealing with both non active
and slate recvs with the same mechanism using a switch.
2023-06-21 20:19:33 +09:30
Saxon Milton
d232734d50
Merged in modify-update (pull request #506 )
...
vidforward: only update broadcast if changed
Resolves issues #405 and #406
Approved-by: Trek Hopton
Approved-by: David Sutton
2023-06-21 10:34:37 +00:00
Saxon Nelson-Milton
26e77709aa
vidforward: only update broadcast if changed
...
For control requests, we only update aspects of the broadcast if
they have changed. Therefore, if the urls list has not changed
the revid pipeline is not updated, similarly if the status has
not changed, we don't do anything there.
2023-06-21 20:03:39 +09:30
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