Commit Graph

11 Commits

Author SHA1 Message Date
Alessandro Ros c7dbb951f3
update golangci-lint (#3149) 2024-03-19 12:53:26 +01:00
Alessandro Ros 0f733bab26
add rpiCameraAWBGains (#2858) (#2954) 2024-01-28 21:48:21 +01:00
Alessandro Ros 7437ee7a09
update golangci-lint (#2868) 2024-01-03 21:13:20 +01:00
Eng Zer Jun f335fc67f9
test: use `t.Setenv` to set env vars in tests (#2722)
This commit replaces `os.Setenv` with `t.Setenv` in tests. The
environment variable is automatically restored to its original value
when the test and all its subtests complete.

Reference: https://pkg.go.dev/testing#T.Setenv

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-11-20 17:34:56 +01:00
Alessandro Ros 4dc6e338dd
fix crash when setting deprecated settings with environment (#2529) (#2550) 2023-10-23 20:07:28 +02:00
Alessandro Ros 9a01ab7fd5
allow changing default path settings; bump API in order to allow so (#2455) 2023-10-07 23:32:15 +02:00
Alessandro Ros 659f19f8bb
enable errcheck (#2201) 2023-08-13 16:38:23 +02:00
Alessandro Ros 1398f42e08
allow removing default WebRTC ICE server with environment variables (#2064) 2023-07-17 00:12:05 +02:00
Alessandro Ros 1a748bb971
webrtc: allow using special characters in ICE server credentials (#1953) (#2000) 2023-06-30 16:47:10 +02:00
Alessandro Ros 7aa163366f
return error in case of string-to-int overflows (#1776) 2023-05-08 13:12:47 +02:00
Alessandro Ros e998688757
allow setting rpiCameraSaturation to 0 (#1651) (#1772) 2023-05-06 23:00:42 +02:00