Saxon
0111ba706d
input/gvctrl: using login or Login rather than logIn or LogIn
2019-10-14 16:05:38 +10:30
Saxon
ea7bba7823
input/gvctrl/gvctrl-cli/main.go: added package documentation
2019-10-14 11:07:27 +10:30
Saxon
c726571399
input/gvctrl/request.go: added documentation to request.go
2019-10-14 11:05:11 +10:30
Saxon
5b17613489
input/gvctrl/utils.go: wrote documentation for utils.go
2019-10-14 10:37:41 +10:30
Saxon
b86ff77996
input/gvctrl/gvctrl.go: wrote documentation in gvctrl.go and renamed BitRate to Bitrate
2019-10-14 09:56:43 +10:30
Saxon
ab71c2cb06
input/gvctrl/gvctrl-cli/main.go: added sub package gvctrl-cli under gvctrl
...
gvctrl-cli provides a command line interface for controlling the geovision camera. Good for
testing purposes.
2019-10-13 21:52:48 +10:30
Saxon
b3c3b842c8
input/gvctrl: moved unexported stuff from gvctrl.go to be more friendly to API users
2019-10-13 18:25:36 +10:30
Saxon
cda7093c21
input/gvctrl: added another test case to TestPopulateForm and fixed potential bug regarding bitrate defaults
2019-10-13 18:11:49 +10:30
Saxon
afe136a51d
input/gvctrl/gvctrl_test.go: added TestPopulateForm to test construction of settings form and fixed bugs
2019-10-13 12:42:31 +10:30
Saxon
7639c7bb74
input/gvctrl/gvctrl_test.go: added test for Refresh option function
2019-10-12 18:07:32 +10:30
Saxon
9e4ff72c48
input/gvctrl/gvctrl_test.go: added test for BitRate option function
2019-10-12 17:54:21 +10:30
Saxon
ad83376cd6
input/gvctrl/gvctrl_test.go: added test for Height option function and fixed how option functions work with the settings struct
2019-10-12 17:27:09 +10:30
Saxon
de915bcb00
input/gvctrl/gvctrl_test.go: added test for convRate
2019-10-12 17:05:44 +10:30
Saxon
caa46939b4
input/gvctrl/gvctrl_test.go: added gvctrl_test.go file and wrote test for closestValIdx
2019-10-12 16:58:15 +10:30
Saxon
366226bb29
input/gvctrl: changed name of closestValStr back to convRate as can only be used by Bitrate options function
2019-10-12 16:48:35 +10:30
Saxon
dc466b039b
input/gvctrl/gvctrl.go: created consts for resolution strings
2019-10-12 15:52:35 +10:30
Saxon
bab1a510b1
input/gvctrl/gvctrl.go: renamed convRate function to closestValStr to generalise and finished Refresh option function
2019-10-12 15:39:27 +10:30
Saxon
e56455f7d0
input/gvctrl: added Set function with functional options for controlling GeoVision
...
Added a file called gvctrl.go which holds all exported functions, including Set,
and the options available for use with Set. This file also holds important consts
and the settings struct. Also added a file called request.go, which houses 3
functions that are in charge of creating HTTP requests, firstly to get the log in
page from which a log in request body can be generated, then to submit the generated
log in request body, and then to submit the settings. Finally a utils.go file has
been added to house a few helper functions.
2019-10-11 20:24:44 +10:30
Trek H
be389fca6e
syntax and style changes
2019-07-11 14:54:06 +09:30
Trek H
d48a11794b
audio: codec config validation
2019-06-20 18:29:08 +09:30
Trek H
95fc69b3c5
audio: syntax and error checking
2019-06-20 18:04:58 +09:30
Trek H
370aa19c23
audio: style and doc
2019-06-18 19:03:38 +09:30
Trek H
2d5ba8cd8f
audio: added validate functions for device config
2019-06-18 18:35:45 +09:30
Trek H
6dd70639fe
audio: removed bufSize arg in Lex funcs and use ByteLexer
2019-06-18 17:24:32 +09:30
Trek H
bcd59b98d2
audio: added error type for opening devices for simpler testing
...
also style changes and formatting etc.
2019-06-18 01:13:42 +09:30
Trek H
fb12a2f69e
pcm, audio: style changes
2019-06-17 13:29:01 +09:30
Trek H
01561e363d
codecutil and audio: tests written using test tables
2019-06-14 19:49:49 +09:30
Trek H
b0588cee14
audio: fixed pcm exp cmds and removed buggy period negotiation
2019-06-14 00:51:26 +09:30
Trek H
2b4593fcc0
audio: removed names from returns
2019-06-13 23:42:26 +09:30
Trek H
9fe09255be
audio and revid: changes for pr
...
added license to lex.go
changed pcm functions to return alsa.Buffers
style, syntax and clarification added to audio.go
new method of finding buffersize in audio.go uses a new function called nearestPowerOfTwo
2019-06-13 23:35:52 +09:30
Trek H
34fc64383e
audio: naming
2019-06-06 02:41:17 +09:30
Trek H
96c1b51173
revid and audio: seperated audio into own package
...
audio device input is now handle in its own package which resides in the new input directory
a list of codecs was added to codecutil package to help with multiple packages using the same codecs
2019-06-06 02:09:55 +09:30