Commit Graph

3502 Commits

Author SHA1 Message Date
Trek H 733785254e audio: renamed AudioDevice to ADPCMDevice 2019-11-11 19:39:10 +10:30
Trek H b66f415e1c audio: renamed Device to AudioDevice 2019-11-11 17:50:46 +10:30
Trek H 78b31c6322 audio: inline syntax for NewDevice 2019-11-11 17:23:15 +10:30
Saxon Milton 5f46ab793c Merged in ring-buffer-defaults (pull request #276)
revid/config/config.go: decrease default ring buffer size and increase MTS ring buffer element size

Approved-by: Alan Noble <anoble@gmail.com>
2019-11-11 06:52:42 +00:00
Trek H 3df9300c1c audio: updated startAudioDevice to use AVDevice implementation 2019-11-11 17:05:10 +10:30
Trek H 4858797d91 audio: moved package from input/audio to device/audio 2019-11-11 16:55:47 +10:30
Trek H a0a4537281 input/audio: audio.Device now implements AVDevice 2019-11-11 16:47:23 +10:30
Saxon 6b5911633a revid/config/config.go: decrease default ring buffer size and increase MTS ring buffer element size 2019-11-11 14:32:24 +10:30
Saxon Milton d07be12648 Merged in audio-meta-addition (pull request #275)
revid: audio input meta additions moved to Revid.setupPipeline()

Approved-by: Alan Noble <anoble@gmail.com>
2019-11-09 21:57:58 +00:00
Saxon fa5585271e revid: audio input meta addition moved to Revid.setupPipeline() 2019-11-09 22:49:04 +10:30
Saxon Milton 79ddea32c0 Merged in fix-overflow (pull request #274)
protocol/rtcp/parse_test.go: fix overflow on 32bit systems
2019-11-09 10:28:41 +00:00
Saxon fc0cd2a4f0 protocol/rtcp/parse_test.go: fix overflow on 32bit systems 2019-11-09 20:41:46 +10:30
Saxon Milton 9e725783be Merged in rename-gvctrl (pull request #272)
device/geovision: renamed gvctrl package to config

Approved-by: Alan Noble <anoble@gmail.com>
2019-11-09 09:53:56 +00:00
Saxon Milton 59f7e1a508 Merged in test-ver (pull request #273)
update go.mod test repo version to v1.6.0
2019-11-09 09:36:18 +00:00
Saxon 1426ff9ff0 update go.mod test repo version to v1.6.0 2019-11-09 19:22:53 +10:30
Saxon ff54b40bd2 revid/inputs.go: using alias avconfig for revid/config package 2019-11-08 17:35:44 +10:30
Saxon 772c381293 device/geovision: renamed gvctrl package to config 2019-11-08 17:29:01 +10:30
Saxon Milton 9c027d857f Merged in rb-write-error (pull request #271)
revid: sender ring buffers flush only if write was successful

Approved-by: Alan Noble <anoble@gmail.com>
2019-11-08 00:02:18 +00:00
Saxon 53dc629fb1 revid: sender ring buffers flush only if write was successful 2019-11-08 10:06:51 +10:30
Saxon Milton 6c8b980b2f Merged in avdevice-interface (pull request #270)
revid: AVDevice and implementations

Approved-by: Alan Noble <anoble@gmail.com>
2019-11-06 12:04:21 +00:00
Saxon 9314e0d32e revid/config/config.go: fixed constant names in comments for Input and Outputs fields of Config 2019-11-06 21:26:39 +10:30
Saxon 61b1059205 device/device.go: fixed file header 2019-11-06 17:47:14 +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 9a93e92b50 revid/webcam.go: fixed error messages in Webcam.Stop 2019-11-06 11:31:12 +10:30
Saxon a02ea397d5 revid/geovision.go: fixed GeoVision constructor name, NewGeovision->NewGeoVision 2019-11-06 10:45:48 +10:30
Saxon bc7f450c5f revid: fixed AVDevice comment 2019-11-06 08:48:18 +10:30
Saxon 7dc15d8095 revid-cli: updated input and output const names 2019-11-05 20:22:05 +10:30
Saxon a6aef125fd revid: cleaned up AVDevice implementations and added documentation to them 2019-11-05 20:14:04 +10:30
Saxon 50c7fe139b revid/file.go: wrote AVDevice implementation for file containing audio or video media 2019-11-05 12:36:27 +10:30
Saxon 81d168a277 revid/webcam.go: wrote implementations of Start, Stop and Read methods 2019-11-05 11:56:34 +10:30
Saxon 8302e959d9 revid/webcam.go: started writing implementation of AVDevice for webcams 2019-11-05 10:57:12 +10:30
Saxon 5afad9c5aa revid/geovision.go: wrote Read method implementation 2019-11-04 19:43:02 +10:30
Saxon ce8dc9a4b3 revid/geovision.go: wrote Stop method implementation 2019-11-04 19:27:05 +10:30
Saxon 1497f4a575 revid/geovision.go: wrote Start method implementation 2019-11-04 19:12:13 +10:30
Saxon bea4d46c72 revid/geovision.go: added geovision.go file and started geovision implementation of AVDevice interface 2019-11-04 15:47:18 +10:30
Saxon d5aa968a27 revid/geovision.go: created file geovision.go to hold geovision implementation of AVDevice and wrote Set function 2019-11-02 10:54:50 +10:30
Saxon 82903681ee revid/raspivid.go: wrote Stop implementation for Raspivid AVDevice implementation 2019-11-02 10:42:56 +10:30
Saxon b2a9dbf17d revid/raspivid.go: wrote Read implementatino for io.Reader interface 2019-11-02 10:36:55 +10:30
Saxon b554c2820a revid: wrote implementation of Start method for Raspivid implementation 2019-11-02 10:31:40 +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
Saxon 20bf962fa3 revid: added AVDevice interface 2019-10-29 19:02:55 +10:30
Saxon Milton 6dccc5c4d5 Merged in extracter-to-extractor (pull request #269)
codec/h264/extract.go: extracter->extractor everywhere
2019-10-27 22:42:17 +00:00
Saxon 47f6dcfe51 codec/h264/extract.go: extracter->extractor everywhere 2019-10-28 08:41:49 +10:30
Saxon Milton 8edfbeb369 Merged in break-bad-sat-or-bright (pull request #268)
revid/revid.go: break if the given saturation or brightness vars are invalid
2019-10-25 21:57:47 +00:00
Saxon 7dac9799be revid/revid.go: break if the given saturation or brightness vars are invalid 2019-10-26 08:24:53 +10:30
Saxon Milton 21493cf969 Merged in gvctrl-chan-1-support (pull request #267)
input/gvctrl: add support for channel 1 on GeoVision, and subsequently 1080p resolution

Approved-by: Alan Noble <anoble@gmail.com>
2019-10-25 11:00:19 +00:00
Saxon f1c0fc1dbf revid: created CameraChan config field to allow selection of GeoVision camera channel 2019-10-25 12:12:30 +10:30
Saxon f74e3a3d7c input/gvctrl/gvctrl.go: added extra form fields in the case of channel 1 control
Also updated testing. Added a new test.
2019-10-25 12:04:25 +10:30
Saxon c01879d364 input/gvctrl/gvctrl_test.go: fixed TestHeight 2019-10-25 12:04:25 +10:30
Saxon a5064e872c input/gvctrl/gvctrl.go: adapted CBRBitrate option function to supported 1080 resolution bitrates 2019-10-25 12:04:25 +10:30