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
Saxon Nelson-Milton
fa4713f8fd
device/raspistill & revid & container/mts: fixed issues with raspistill test implementations and made slight logging improvements in mts encoder and revid.
2021-02-03 12:17:23 +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
300eac81ce
revid: renamed revid_test.go to pipeline_test.go
2021-01-20 11:27:41 +10:30
Saxon
18ffefd7cb
give container/mts NewEncoder(...) log parameter and update code around repo accordingly
2020-05-03 14:14:31 +09: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
924858c1c0
revid: added raspivid.go file to hold Raspivid implementation of AVDevice interface
...
Wrote consts for default values, wrote global errors, wrote multiError type (might move)
wrote Set method.
2019-11-01 21:49:30 +10:30
Trek H
370aa19c23
audio: style and doc
2019-06-18 19:03:38 +09:30
Trek H
e3ba1e43f3
Merge branch 'master' into revid-audio
2019-06-14 00:15:04 +09:30
Trek H
90c34c4108
revid: fixed issues after merge
2019-06-03 18:35:28 +09:30
Trek H
5225896924
revid: gave AudioDevice a logger
2019-05-23 01:23:51 +09:30
Trek H
c58c573cd7
revid: changed writeRates and recPeriods to floats
2019-05-21 12:39:10 +09:30
Saxon
835f97203a
revid: config fields that are exported and acronyms now capitalized.
2019-05-13 16:23:38 +09:30
Saxon
51fcb18505
revid: capitalize exported enums that are acronyms like Rtmp->RTMP, Mpegts->MPEGTS etc.
2019-05-13 16:18:41 +09:30
Trek H
76765c8a20
revid: updated revid test to use new mtsEncoder func
2019-05-08 18:07:33 +09:30
Saxon
8f74cd4ced
revid: does not panic when not outputs are defined in a config.
2019-05-05 22:50:59 +09:30
Saxon
3ab0be4a7a
revid: fixed typos in revid_test.go
2019-04-24 13:01:29 +09:30
Saxon
e5f95d1ea0
revid: addressing PR feedback
2019-04-23 13:18:41 +09:30
Saxon
9ba72fac62
av: addressing PR feedback
2019-04-22 15:14:08 +09:30
Saxon
74c995d452
revid: addressing PR feedback
2019-04-18 16:55:48 +09:30
Saxon
f59879b51d
revid: removed ringBuffer after lexer
...
Now that we want buffered senders (as required), the ringBuffer that was after the
lexer has been removed. Instead, we now have an ioext.multiWriterCloser to which the
lexer writes to. This then writes to the encoders, and then encoders write to each of
their own multiWriteClosers, which write to the appropriate senders. We now call
close on the first multiWriteCloser to close down the entired pipeline, as this close
call propogates through each level.
We have removed the outputClips routine as it's not required anymore to get data
from the revid ringBuffer, and have removed other things that were used by this, like
the IsRunning function.
We have also updated tests to work with these changes - they are passing.
2019-04-15 08:42:56 +09:30
Saxon
3841b8cb5b
revid: fixed build error in revid_test.go
2019-04-10 12:16:51 +09:30
Saxon
9435baec5c
revid: fixed Write for dummyMultiWriter in revid_test.go
2019-04-03 11:38:37 +10:30
Saxon
b9e7c3ff8c
revid: fixed dummyMultiWriter Write func so that it satisfies semantics of io.Writer.Write
2019-04-03 11:31:21 +10:30
Saxon
9bd41b7c3b
revid: simplified signature for setupPipeline and fixed commenting
2019-04-03 11:29:54 +10:30
Saxon
6b91746cf6
revid: removed multiSender and started using std io.multiWriter
...
We are now using an io.multiWriter rather than the multiSender. Code has been updated inside revid.go to account for this change, and tests have also been updated accordingly. Tests for
the multiSender have been removed. A dummyMultiWriter has been written to inject our own multiWriter during testing.
2019-04-02 13:21:46 +10:30
Saxon
afe2948cf7
revid: removed unnecessary assertion
2019-03-30 10:08:27 +10:30
Saxon
8cc7f6e500
revid: improved some naming
2019-03-29 16:22:51 +10:30
Saxon
7c724c9fc3
revid: simplified determination of sender types
2019-03-29 16:17:11 +10:30
Saxon
3896a5e804
revid: senders are now io.Writers
...
Added a Write method to senders such that they implement io.Writer. The multiSender now takes a slice of io.writers.
Also modified revid code and tests to account for this chance.
2019-03-29 12:49:26 +10:30
Saxon
e7c6b7319b
revid: sender any logic that is performed on a failed send is now done inside loadSender.send()
2019-03-24 20:01:25 +10:30
Saxon
a0d396ddfe
revid: modified test for revid reset to use test encoders.
2019-03-17 09:34:36 +10:30
Saxon
1533d6a7ff
stream: got rid of Encoder interface as not needed anymore considering our encoders just implement io.Writer now
2019-03-16 15:46:33 +10:30
Saxon
9b3a1d0ae7
revid: multiSender is no longer a struct, but rather a type derived from a []loadSender
2019-03-14 11:20:02 +10:30
Saxon
5b19c955f2
revid: added full stop to comment for TestResetEncoderSenderSetup in revid_test.go
2019-03-14 08:26:34 +10:30
Saxon
e593a04faf
revid: added TestResetEncoderSenderSetup
...
Added a test to check that revid's reset method is correctly setting up encoders
and the senders they write to correctly.
2019-03-13 18:14:00 +10:30
scruzin
437470b53f
Only dump stack for Fatal log messages.
2019-03-09 06:57:55 +10:30
scruzin
db265404eb
Skip if raspivid not present.
2019-03-08 20:43:01 +10:30
scruzin
e0471d5e2c
Initial revision.
2019-03-08 17:45:38 +10:30
Dan Kortschak
57ff89746c
revid: remove non-automated tests
2018-09-10 21:56:15 +09:30
saxon.milton@gmail.com
5861fe64d0
Merged in revidTestingImrpovement (pull request #37 )
...
RevidTestingImprovement
Approved-by: kortschak <dan@kortschak.io>
2018-07-10 03:15:13 +00:00
Saxon Milton
093df161f1
Changed NewRevidInstance to NewRevid
2018-04-16 14:47:50 +09:30
Unknown
86bc3602d7
go fmted
2018-03-14 11:48:03 +10:30
saxon.milton@gmail.com
d718534f0f
updating remote
2018-03-14 11:19:21 +10:30
saxon.milton@gmail.com
31eb35b5e8
updating remote
2018-03-13 19:44:30 +10:30
saxon.milton@gmail.com
e9f0fc9da7
managed to get it to build
2018-03-13 18:59:18 +10:30
Unknown
f68385330c
updating
2018-03-13 15:13:32 +10:30
Unknown
76df33ceb9
Fixing bugs
2018-03-13 15:03:31 +10:30
Unknown
57d416563a
Just cleaning stuff up before testing
2018-03-13 11:44:43 +10:30