Commit Graph

189 Commits

Author SHA1 Message Date
Cedric Verstraeten
add8ae2bad Revert "disable imaging"
This reverts commit 6c5db5fed6.
2023-12-25 21:26:55 +01:00
Cedric Verstraeten
6c5db5fed6 disable imaging v0.0.12 2023-12-25 21:21:12 +01:00
Cedric Verstraeten
ba8bcf19bb inputs method added v0.0.11 v0.0.10 2023-12-25 20:57:16 +01:00
Cedric Verstraeten
8902e4e789 upgrade onvif library 2023-12-18 20:16:21 +01:00
Cedric Verstraeten
71b6d48393 diz memory leak + import v0.0.9 2023-12-06 20:38:25 +01:00
Cedric Verstraeten
bb5a87b253 Merge remote-tracking branch 'upstream/master' v0.0.8 2023-12-06 19:45:28 +01:00
Edward
217f1231c5 Merge pull request #38 from sunjirui/imaging-setting-change
The Parameters in ImagingSettings20 becomes optional
2023-09-21 14:52:22 +08:00
Cedric Verstraeten
7903bf2710 makes presets an array, we have more than a single preset v0.0.7 2023-08-30 11:01:24 +02:00
Cedric Verstraeten
c037b63bad Fix for ONVIF preset (json) v0.0.6 2023-08-24 12:36:15 +02:00
sunjirui
b424ee7bfe changed ImagingSettings20 2023-08-07 19:18:45 +08:00
Edward
88cd86f4fc Merge pull request #31 from stefan-kiss/ptz-profiles-fix
changed Preset field to slice in GetPresetsResponse
2023-05-02 02:11:51 +08:00
Edward
03ecb66210 Merge pull request #27 from tarancss/fix-memleak-and-events
Fix memory leak and events
2023-05-02 02:10:33 +08:00
Cédric Verstraeten
23e1c0b1bc Update onvif.go v0.0.5 2023-01-25 14:10:53 +01:00
Cedric Verstraeten
9d65ca2b49 add new types for independent zoom and pan tilt v0.0.4 2022-12-23 08:55:22 +01:00
Kiss Stefan
5c4360a924 changed Preset field to slice in GetPresetsResponse 2022-12-11 14:00:19 +02:00
tarancss
1a23395c53 remove debug logs 2022-09-17 01:24:52 +02:00
tarancss
8677b3be7e fix memory leak and events 2022-09-17 01:18:56 +02:00
tarancss
4f0536a933 fix subscribe response 2022-08-14 18:15:33 +02:00
Edward
bc3226e9ec Merge pull request #22 from jfsmig/fixes-ws-discovery-20220510
Misc. fixes in the WS discovery
2022-07-26 14:39:05 +08:00
Edward
d8d0fc383a Merge pull request #21 from spring-lab/master
fix ptz.types.SetPreset.PresetToken is optional
2022-07-26 14:31:40 +08:00
Jean-Francois Smigielski
9e25a0109e api: use juju/errors and zerolog 2022-05-11 10:05:57 +02:00
Jean-Francois Smigielski
47d91cba88 networking: use juju/errors and zerolog 2022-05-11 10:05:57 +02:00
Jean-Francois Smigielski
72a3540cc3 Let the example code use the generated SDK methods
Also introduces zerolog for pretty traces and juju/errors to annotate the errors
and track their origin.
2022-05-11 10:05:57 +02:00
Jean-Francois Smigielski
7d78e6b76e Provide a sdk package with 1 call per method
Modify the template in ./sdk/codegen/main.go

Use "go generate" from ./sdk/{ptz,media,device} to regenerate the files.
2022-05-11 10:05:57 +02:00
Jean-Francois Smigielski
6f1154fc4d ws-discovery: Return an error instead of printing & ignoring 2022-05-10 13:21:27 +02:00
Jean-Francois Smigielski
9b5df9ac2c Avoid non-error debug on stdout 2022-05-09 09:13:30 +02:00
Jean-Francois Smigielski
2569cf83bf Use a random ssource port in ws-discovery 2022-05-09 00:58:06 +02:00
Spring
be3347f029 fix ptz.types.SetPreset.PresetToken is optional 2022-04-24 09:53:18 +08:00
Edward
d42cc336c6 Merge pull request #19 from use-go/dependabot/go_modules/github.com/gin-gonic/gin-1.7.0
Bump github.com/gin-gonic/gin from 1.6.2 to 1.7.0
2022-03-23 12:44:13 +08:00
dependabot[bot]
9bf3bd8446 Bump github.com/gin-gonic/gin from 1.6.2 to 1.7.0
Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) from 1.6.2 to 1.7.0.
- [Release notes](https://github.com/gin-gonic/gin/releases)
- [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gin-gonic/gin/compare/v1.6.2...v1.7.0)

---
updated-dependencies:
- dependency-name: github.com/gin-gonic/gin
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-23 04:42:17 +00:00
Edward
33a083305c Merge pull request #18 from yjkhtddx/master
more services
2022-03-23 12:40:56 +08:00
Edward
2c358f683b Merge pull request #11 from GreenLightning/fix
Fix panic during SendProbe
2022-03-23 12:40:15 +08:00
刘跃龙
1bfeb9b57d fix:get Extension services 2021-10-25 10:59:11 +08:00
刘跃龙
c5e512ad1a fix:get Extension services 2021-10-25 10:55:46 +08:00
Green Lightning
07eeae0187 Fix panic during SendProbe
If ListenPacket returns an error, c is nil and the deferred call to
c.Close() will panic.

Fix this by returning early from the method.
2021-07-26 14:22:05 +02:00
cedricve
37d8a71395 rename imports v0.0.3 2021-06-04 21:51:49 +02:00
Edward
af24622015 Merge pull request #8 from kikimor/http_custom
External httpClient support
v0.0.2
2021-04-24 11:15:02 +08:00
kikimor
2fb044d81c endpoint nat support 2021-03-06 23:56:46 +05:00
kikimor
51ae55e8a0 External httpClient support 2021-02-24 21:58:44 +05:00
eamon
6a2c796805 fix case 2021-01-31 16:12:54 +08:00
Edward
48daf5acb5 Rename license to LICENSE v0.0.1 2021-01-31 16:01:46 +08:00
Edward
d85a0742b9 Create license 2021-01-31 16:00:28 +08:00
Edward
24a85afc84 Merge pull request #4 from GreenLightning/master
Do not log "i/o timeout" errors
2021-01-29 19:37:38 +08:00
Green Lightning
c8ac58ebd7 Require Go 1.15 2020-10-23 11:51:21 +02:00
Green Lightning
4ec21b20e0 Do not log "i/o timeout" errors 2020-10-21 00:09:00 +02:00
Edward
4e696ec65a Merge pull request #3 from GreenLightning/fix-auth
Fix authentication
2020-08-17 18:39:23 +08:00
Green Lightning
e1345d5e6b Fix authentication
Because time.Now() is called twice, it may return different results on a
slow machine, causing an invalid authentication header to be generated.
2020-08-16 17:31:35 +02:00
Edward
918ce541d2 Update README.md 2020-05-26 10:39:28 +08:00
Edward
15e268c1b7 Update README.md 2020-05-09 16:06:23 +08:00
Edward
dce0d0faad add an example by testing 2020-05-01 22:58:49 +08:00