Commit Graph

27 Commits

Author SHA1 Message Date
Saxon Nelson-Milton fe2f091272 run gofmt 2022-11-06 17:25:28 +10:30
Saxon Nelson-Milton 5eb5992f15 using latest version of utils and using latest logging package 2022-05-27 15:42:58 +09:30
Dan Kortschak fd7113860b device: fix incorrect uses of MultiError and guard against misuse 2022-01-13 16:08:02 +10:30
Saxon Nelson-Milton 86e88c0f43 device/raspivid/raspivid.go: added missing exposure mode off to exposure modes list 2021-03-30 09:49:45 +01:00
Saxon Nelson-Milton 8ad9ee5361 device/raspivid & revid/config: exposed more raspivid parameters, namely contrast, sharpness, exposure value, ISO and AWBGains 2021-03-30 15:19:57 +10:30
Saxon Nelson-Milton 606b784f5e fixed various things particularly use of %w formatting directive in wrong places to satisfy repo testing 2020-12-19 13:43:23 +10:30
Ella Pietraroia 890f142fb9 Merged in godoc (pull request #387)
Package level comments

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2020-04-23 05:35:23 +00:00
Ella Pietraroia 149f95af84 no package level comments in test files 2020-04-23 12:34:11 +09:30
Saxon Nelson-Milton 1525714439 device/raspivid: fix of closing closed chan 2020-03-31 10:13:21 +01:00
Ella Pietraroia 892e1b92da device: package level comments 2020-03-12 15:56:29 +10:30
Scott 6e1ccf6bda device: add package comments to file, raspivid, geovision and webcam packages 2020-02-26 14:30:42 +10:30
Scott c682f49071 device: use fatal instead of skip in tests 2020-01-31 14:02:45 +10:30
Scott 9ddd4be089 device: use constants for test code 2020-01-31 12:22:48 +10:30
Scott 25d68cf124 device/raspivid: implement IsRunning method for raspivid 2020-01-30 11:22:11 +10:30
Scott f1d1fe2cad device: add tests for IsRunning
To check that the IsRunning method is working, some tests are needed. These tests shall be skipped when an AVdevice is not connected, such as when testing within Circle-CI.
2020-01-30 11:21:06 +10:30
Scott 9a0e52a8f3 device: add IsRunning method to device interface
This commit adds the IsRunning method to the AVDevice interface. It doesn't implement it yet, that will be for a future commit.
2020-01-29 09:28:44 +10:30
Ella Pietraroia 55e13c2f8f device/raspivid/raspivid.go changing default bitrate to fit within buffer 2020-01-07 11:26:17 +10:30
Scott c11444f043 FlipHorizontal & FlipVertical variables renamed 2019-12-06 16:36:29 +10:30
Ella Pietraroia 9f567fbfed device/raspivid/raspivid.go: piping stderr and checking for errors
We now pipe stderr as well as stdout and check for errors on this pipe in a routine called in
raspivid.Start().
2019-12-04 16:41:26 +10:30
Saxon c2c0a576e6 using slice functions from sliceutils package 2019-11-22 17:38:30 +10:30
Saxon ed9f6f5336 fixed typo and also defaulting to CBR for RTMP with geovision 2019-11-22 17:38:30 +10:30
Saxon a6797a929d revid: defaulting to VBR for camera devices
Easiest way to do this is change VBR config field to CBR (therefore CBR defaults to false without having to do anything).
2019-11-22 17:38:30 +10:30
scruzin b4570f1aa1 Use sliceUtils.ContainsString instead of stringInSlice. 2019-11-22 17:19:27 +10:30
scruzin c49e716a59 Added Name to AVDevice. 2019-11-22 10:55:13 +10:30
Saxon 1a65dc9da4 fixing build errors and testing bugs + removed config_test.go as not relevant anymore 2019-11-13 14:11:29 +10:30
Saxon dec39a3636 revid: now using AVDevice implementations
Also renamed constructors of devices to reduce stutter e.g. raspivid.NewRaspivid to
raspivid.New
2019-11-13 14:11:29 +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