Commit Graph

3848 Commits

Author SHA1 Message Date
Saxon Nelson-Milton 10908a1749 cmd/rv/main.go: added delay before running stuff
We were getting problems with connection to RTSP device when revid was started from boot.
It seemed like system networking things were not given enough time to establish themselves
before we tried to use them. A delay before running revid fixes this, but is a bit of a
hacky solution. Better solution would be appreciated.
2020-04-10 17:33:24 +01:00
Saxon Nelson-Milton 4d5a85b853 revid/senders.go: remember previously adjusted RB element sizes 2020-04-10 17:32:44 +01:00
Saxon Nelson-Milton 2bfb4d6b95 revid: fix logging control
Setting log level at end of Revid.setConfig. Revid variable Logging to logging.
2020-04-10 16:22:04 +01:00
Saxon Milton cc467243ea revid/senders.go: reduce max buff len 2020-04-10 07:05:45 +00:00
Saxon Milton 40133eaad9 Merged in add-fixed-element-rb (pull request #396)
revid: reverted to fixed element size ring buffer
2020-04-09 06:31:03 +00:00
Saxon c0614c3456 revid: reverted to fixed element size ring buffer 2020-04-09 15:55:01 +09:30
Saxon Milton d577b078a5 Merged in raspivid-close-of-closed-chan-fix (pull request #395)
device/raspivid: fix closing of closed done chan
2020-04-02 13:13:20 +00:00
Saxon Nelson-Milton 1525714439 device/raspivid: fix of closing closed chan 2020-03-31 10:13:21 +01:00
Saxon Milton 09a763728e Merged in h265-lex-to-extract (pull request #392)
codec/h265: rename Lexer to Extractor

Approved-by: Trek Hopton <trek.hopton@gmail.com>
2020-03-29 00:29:47 +00:00
Saxon Milton f9dc1d0139 Merged in remove-logging-pkg-prefix (pull request #393)
revid: no longer prepending package name before log messagges

Approved-by: Trek Hopton <trek.hopton@gmail.com>
2020-03-29 00:28:45 +00:00
Saxon Milton a7af42d62a Merged in add-bitrate-typedata (pull request #394)
revid/config: adding Bitrate to TypeData map
2020-03-27 14:45:46 +00:00
Saxon b8a135e0d0 revid/config: adding Bitrate to TypeData map 2020-03-28 01:10:28 +10:30
Saxon f1c1339e9f revid: no longer prepending package name before log messagges 2020-03-28 01:08:09 +10:30
Saxon 7afc71b33e revid: using h265.Extractor instead of h265.Lexer 2020-03-28 00:45:46 +10:30
Saxon 031feda565 codec/h265: Lexer -> Extractor 2020-03-28 00:43:35 +10:30
Saxon Milton a02db333e9 Merged in fix-mts-sender-disc-test (pull request #391)
revid: added ring buffer write timeout to TestMtsSenderDiscontinuity
2020-03-27 13:29:45 +00:00
Saxon 0c9a42a605 Merge branch 'master' of http://bitbucket.org/ausocean/av 2020-03-27 23:56:45 +10:30
Saxon 8f5ee3184b revid: added ring buffer write timeout to TestMtsSenderDiscontinuity 2020-03-27 23:56:36 +10:30
Saxon Milton 9182443494 Merged in fix-mts-sender-test (pull request #390)
revid: give ring buffer write timeout in TestMtsSenderFailedSend
2020-03-27 13:23:04 +00:00
Saxon 84e32b0110 revid: give ring buffer write timeout in TestMtsSenderFailedSend 2020-03-27 23:38:03 +10:30
Saxon Milton 0fa50d1a46 Merged in improve-logging (pull request #389)
Improve debug and info logging quality and frequency

* cmd/rv: added some more debug and info logging

* revid: improving logging in revid.go

* revid: improved logging in senders.go

* revid: don't need to set log level as netsender does it

* added some extract log messages

Approved-by: Trek Hopton <trek.hopton@gmail.com>
2020-03-27 12:20:51 +00:00
Saxon Milton fc3c89231d Merged in update-init-rclocal (pull request #388)
init: updated rc.local and Makefile to reflect change of revid-cli to rv

Approved-by: Trek Hopton <trek.hopton@gmail.com>
2020-03-23 10:22:12 +00:00
Ella Pietraroia f55ecd2a9d exp: package level comments 2020-03-12 16:00:40 +10:30
Ella Pietraroia 892e1b92da device: package level comments 2020-03-12 15:56:29 +10:30
Ella Pietraroia 945bc61a26 comtainer: mts: package level comments 2020-03-12 15:36:28 +10:30
Ella Pietraroia 75b509be48 container: flv: package level comments 2020-03-12 15:31:39 +10:30
Ella Pietraroia 4b99dac365 codec: mjpeg: pachage level comment 2020-03-12 15:29:41 +10:30
Ella Pietraroia 837b43985a codec: h264: h264dec: editing package comment 2020-03-12 15:16:51 +10:30
Ella Pietraroia 231ad77682 codec: hh264: adding package comment 2020-03-12 15:12:04 +10:30
Saxon Milton 19cbcfb08a Merged in audio-looper-netsender (pull request #386)
* cmd/audio-player/looper: integrating netsender client in to audio-looper to allow for sending of logs to cloud

* cmd/audio-player/looper: added netsender.conf file for copying when making

Approved-by: Trek Hopton <trek.hopton@gmail.com>
2020-03-09 04:46:17 +00:00
Scott Barnard 3b0d004934 Merged in looper-combined (pull request #385)
Audio looper for pi - v2

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2020-03-06 07:34:07 +00:00
Saxon 94a7c0cb5a cmd/audio-player/looper: don't need to deal with stdout to file anymore in rc.local now that we're using the lumberjack logger 2020-03-06 18:00:18 +10:30
Saxon 0d761deed3 cmd/audio-player/looper: fixed indentation of file headers 2020-03-06 17:55:13 +10:30
Saxon bb22272804 cmd/audio-player/looper: general clean up of main file
No longer doing multiwriter that stdout and stderr to stdout and stderr again and buffs. Now only buffs so that we can log anything in stdout or stderr.
2020-03-06 17:50:21 +10:30
Saxon 170a18830e cmd/audio-player/looper: updated package level comment 2020-03-06 16:11:27 +10:30
Saxon adbbd4d458 cmd/audio-player/looper: wrote wrapper for lookPath calls to simplify code 2020-03-06 16:10:01 +10:30
Saxon d0646f73bc cmd/audio-player/looper: general clean up of pi0.go 2020-03-06 15:53:11 +10:30
Saxon a8dc1f78df cmd/audio-player/looper: added missing file headers 2020-03-06 15:26:35 +10:30
Saxon e97745c0df cmd/audio-player/looper: cleaned up README.md file 2020-03-06 14:27:22 +10:30
Ella Pietraroia 6968b973bd looper: rc.local adding path, main.go letting finish the play to find stderr before fatal 2020-03-02 18:32:28 +10:30
Ella Pietraroia 4690209fd5 audio-player: error checking 2020-03-02 12:33:01 +10:30
Scott Barnard d996635232 Merged in meta-more-unit-tests (pull request #381)
add unit tests for NewFromMap and EncodeAsString methods

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2020-02-29 05:29:54 +00:00
Scott Barnard 1901e4271e Merged in godoc (pull request #383)
Fix package level comments

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2020-02-29 05:05:55 +00:00
Scott c5fb58e70c cmd/audio-player/looper: use a command line flag for choosing audio file path 2020-02-28 16:28:02 +10:30
Scott 8cbc7e700c makefile and rc.local fix 2020-02-28 16:06:46 +10:30
Scott 0399051e0e cmd/audio-player/looper: added make file 2020-02-28 15:55:30 +10:30
Scott 17c7ef857e cmd/audio-player/looper: use same logger as revid 2020-02-28 14:30:55 +10:30
Scott 89691e9689 cmd/audio-player/looper: make minor formatting changes 2020-02-28 13:57:58 +10:30
Scott fe983b123c cmd/audio-player/looper: build successfully on circleci 2020-02-28 13:39:04 +10:30
Scott 081efe24d7 cmd/audio-player/looper: created combined audio looper for pi 0 and pi 3 2020-02-28 13:25:07 +10:30