28 Commits

Author SHA1 Message Date
Cédric Verstraeten
567e8ce298 Update discovery.go 2020-02-22 20:12:00 +01:00
Cédric Verstraeten
222bd74c2e Update soap.go 1.0.0 2020-02-22 20:09:23 +01:00
Cédric Verstraeten
3a66f5376d Update soap.go 2020-02-22 20:08:09 +01:00
Cédric Verstraeten
95554c278f Update soap.go 2020-02-22 20:06:01 +01:00
Rod Apeldoorn
03ded6c189 Updates to uuid package broke backwards compatibility.
Updated discoverDevices and createUserToken functions to handle errors properly. This includes the rare possibility createUserToken could send a new SOAP fault message if a uuid can not be generated (only in out-of-memory situations).

Added vendoring to prevent future dependency issues.

Side Note: Had vendoring not been added, the uuid dependency would cause problems if this go-onvif package was added to a project using vendoring. This is due to go defaulting to a last commit to the master branch, while vendoring defaults to the last published version. This quirk was obvious after seeing the uuid package pushed the breaking change to the master without also pushing it as a new version.
2018-08-28 16:46:42 -07:00
Radhi
04b7ac76ff Merge pull request #1 from ChihChengYang/patch-1
Fix an error response - "InvalidArgs"
2018-02-01 16:40:29 +07:00
Jeff
11853c6357 Fix an error response - "InvalidArgs" 2017-10-13 16:11:28 +08:00
Radhi Fadlillah
509c717240 Check for error response 2017-05-24 09:12:59 +07:00
Radhi Fadlillah
17f6fb8306 Scan all interface 2017-05-24 09:12:51 +07:00
Radhi Fadlillah
329082c9db Minor fix: remove colon prefix in urn uuid 2017-05-23 06:47:00 +07:00
Radhi Fadlillah
7932616ed3 Implement some API for media service 2017-05-22 22:36:35 +07:00
Radhi Fadlillah
94d9abee06 Implement fault response handler 2017-05-22 22:36:18 +07:00
Radhi Fadlillah
34d27b75c9 Rename variable for testing 2017-05-22 22:34:03 +07:00
Radhi Fadlillah
41874e9ac7 Update todo 2017-05-22 19:32:00 +07:00
Radhi Fadlillah
07dfb17ef7 Add unit test 2017-05-22 19:28:39 +07:00
Radhi Fadlillah
68873cc459 Remove some API for now 2017-05-22 19:27:27 +07:00
Radhi Fadlillah
4dcb04bb5e Minor change 2017-05-22 19:11:28 +07:00
Radhi Fadlillah
8332365c35 Fix GetDeviceInformation following guide 2017-05-22 18:40:00 +07:00
Radhi Fadlillah
2e984a0379 Implement some new API 2017-05-22 12:18:02 +07:00
Radhi Fadlillah
05cac4b759 Update soap message following guide from Onvif 2017-05-22 12:08:55 +07:00
Radhi Fadlillah
54a455f129 Implement API for get device info and capabilities 2017-05-17 08:54:46 +07:00
Radhi Fadlillah
6415347db0 Add method to fetch device information 2017-05-17 05:19:13 +07:00
Radhi Fadlillah
2b91fc728f Separate model to other file 2017-05-17 05:17:50 +07:00
Radhi Fadlillah
e1f24a0447 Separate SOAP request 2017-05-16 20:03:14 +07:00
Radhi Fadlillah
375bdf5249 Update README 2017-05-16 07:31:50 +07:00
Radhi Fadlillah
d23a0ab8f9 Initial additional method for device 2017-05-16 07:31:22 +07:00
Radhi Fadlillah
01f9b9eca3 Cleaning code and only take one xAddr 2017-05-16 07:26:23 +07:00
Radhi Fadlillah
ad16e1ba9e Initial commit 2017-05-15 11:04:02 +07:00