Trek H
1d67ab65a4
alsa: refactor DataSize function
2020-12-24 10:55:44 +10:30
Trek H
35e602748d
alsa: pass codec to ring buffer size calc
2020-12-24 09:57:32 +10:30
Saxon Nelson-Milton
6993f136c8
device/file/file.go: simplify AVFile.Read() method
2020-12-21 12:13:45 +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
Saxon Nelson-Milton
6506a3021f
device/file & revid/pipeline.go: add looping functionality to file device and removing from processFrom
2020-12-19 12:52:49 +10:30
Saxon Nelson-Milton
67a0771c32
device/alsa/alsa.go: removed OpenError
2020-12-14 15:56:33 +10:30
Trek H
744a33d6be
alsa: improve error handling
2020-09-03 16:44:22 +09:30
Trek H
c86e3c4ce9
alsa: improve error checking
2020-08-21 14:34:13 +09:30
Trek H
a475b6f67f
alsa: try requested channel
2020-08-21 14:13:15 +09:30
Trek H
d9393b46b0
alsa: negotiate channels both stereo and mono, also fix error handling
2020-08-19 16:55:35 +09:30
Trek H
abbe35d7a8
alsa: improve documentation
2020-08-13 16:23:19 +09:30
Trek H
456b711b28
alsa: test files updated to use Setup instead of Set
2020-08-13 15:51:24 +09:30
Trek H
ba08c58af4
alsa: added comment for exported function DataSize
2020-08-13 15:42:28 +09:30
Trek H
c394dc9d89
alsa, revid: reverted changes to revid and changed how ALSA implements Device
2020-08-13 15:28:59 +09:30
Trek H
53a55cc477
Merge branch 'master' into audio-order
2020-08-11 20:20:01 +09:30
Trek H
adf5ddece1
revid, alsa: reorder audio setup
2020-08-11 20:17:52 +09:30
Trek H
5fe586913f
alsa, revid: added correct device configuration and defaulting for audio
2020-08-11 11:43:17 +09:30
Saxon Milton
4cf155bbc2
Merged in correct-config-types (pull request #401 )
...
Correct types of fields in revid/config/config.go Config struct
2020-05-02 03:55:13 +00:00
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
1dbf40952a
device/device.go package level comment vs function commenty
2020-04-23 14:54:25 +09:30
Ella Pietraroia
b9c413fdd2
device/device.go package level comment wording
2020-04-23 14:51:12 +09:30
Ella Pietraroia
36dfb05326
formatting changes
2020-04-23 14:49:30 +09:30
Ella Pietraroia
2f95c3836c
checking godoc on localhost and making edits
2020-04-23 13:13:37 +09:30
Ella Pietraroia
237ecadbc9
more accurate comment for device/device.go
2020-04-23 12:40:54 +09:30
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
Dan Kortschak
2f85dbcdf6
device/webcam: don't close closed chan
2020-02-03 16:31: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
a123789cac
device/geovision: implement IsRunning method for geovision
2020-01-30 11:22:41 +10:30
Scott
0bd21b9003
device/alsa: implement IsRunning method for alsa
2020-01-30 11:22:24 +10:30
Scott
25d68cf124
device/raspivid: implement IsRunning method for raspivid
2020-01-30 11:22:11 +10:30
Scott
4c65173604
device/file: implement IsRunning method for file
2020-01-30 11:21:56 +10:30
Scott
5c5672486e
device/webcam: implement IsRunning method for webcam
2020-01-30 11:21:39 +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
Saxon
ed626e02ab
cmd/rv: did some cleaning and commenting
...
Modified profile.go file header. Updated binary name in run.sh.
2020-01-27 15:50:24 +10:30
Saxon
7033d62cc6
cmd/rv: created new revid binary that is only netsender client, not CLI as well
2020-01-27 13:55:09 +10:30
Saxon Milton
36220e967f
Merged in rtp-jpeg-extractor (pull request #289 )
...
codec/mjpeg: RTP/JPEG extractor
Approved-by: Alan Noble <anoble@gmail.com>
2020-01-07 04:43:07 +00:00
Ella Pietraroia
55e13c2f8f
device/raspivid/raspivid.go changing default bitrate to fit within buffer
2020-01-07 11:26:17 +10:30
Saxon
2d824707ee
Fixed bugs, now working
2020-01-03 17:15:06 +10:30
Ella Pietraroia
0da4c3b618
device/webcam/webcam.go: fixed error output
2019-12-23 15:37:20 +10:30
Ella Pietraroia
d0102779ed
stderr implementation in webcam
...
same stderr messages made avaliable in raspivid.go now in webcam, so can see when there are problems with with the webcam, rather then our code
2019-12-23 15:27:46 +10:30
Scott
c11444f043
FlipHorizontal & FlipVertical variables renamed
2019-12-06 16:36:29 +10:30
Ella Pietraroia
f8da6b0609
Merged in raspivid-stderr (pull request #299 )
...
device/raspivid/raspivid.go: piping stderr and checking for errors
Approved-by: Saxon Milton <saxon.milton@gmail.com>
2019-12-05 01:05:20 +00:00
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
Scott
e116e197ae
Changed all %v's to %w's where appropriate
2019-12-04 14:12:20 +10:30
Scott
565ba3079c
Formatted code
2019-12-03 14:55:08 +10:30