Commit graph

16 commits

Author SHA1 Message Date
Ville Skyttä
f828cdcaef
Fix setup of ONVIF devices without snapshot capability ()
* Fix setup of ONVIF devices without snapshot capability

* Unrelated debug message typo fix
2020-09-06 16:52:06 -04:00
Diefferson Koderer Môro
804cae02ee
Fix get profiles checking if has ptz capabilities () 2020-07-10 10:13:16 -04:00
Jason Hunter
eb95c5cd2e
update renew logic to work better with cameras responding with invalid termination times by extending the duration () 2020-06-03 09:51:57 -06:00
Diefferson Koderer Môro
0e2e39a5f2
Fix Method GetNetworkInterfaces not implemented () 2020-06-02 19:45:20 -07:00
Jason Hunter
cb2821b512
Fix empty preset element in ONVIF response () 2020-05-26 21:16:15 -07:00
Minims
2375e00029
Fix onvif snapshot for Sricam SP009 () 2020-05-25 14:02:21 +02:00
Jason Hunter
5dfae0eb7c
fix preset warning () 2020-05-25 13:38:57 +02:00
Jason Hunter
bd8848e57a
Fix ONVIF config entry unique ID ()
* fallback to device serial number if no mac available

* make password optional to fix 

* update tests to reflect new flow

* fix snake case and AsyncMock

* add comments around why weird things are being done
2020-05-24 21:50:50 +02:00
Jason Hunter
0514960bda
Fix ONVIF PTZ and profile encoding issues ()
* allow lib to create AsyncTransport

* fix transport close issue

* fix zoom only cameras without PTZ presets

* catch profiles without encoding configuration

* also catch ServerDisconnectedError for ptz
2020-05-22 21:11:30 -04:00
Jason Hunter
0e83cfade1
Fix ONVIF Transport ()
* allow lib to create AsyncTransport

* fix transport close issue
2020-05-22 19:46:11 -04:00
Jason Hunter
a82900ae27
fix mjpeg issue along with some cameras not returning event capabilities properly () 2020-05-20 21:26:27 -04:00
Jason Hunter
aeae4edb74
Fix ONVIF subscription renewal ()
* fix subscription renewal

* catch ValueError for 
2020-05-18 23:02:23 -04:00
Jason Hunter
3a3f39b642
ONVIF: Add check around media capabilities () 2020-05-15 20:05:32 +02:00
Jason Hunter
7ab19bdfcc
Additional checks for ONVIF event capabilities ()
catch any exceptions when pulling event capabilities and assume it is not supported
2020-05-13 22:24:38 -04:00
Jason Hunter
132bb4e890
ONVIF Event Implementation ()
Initial implementation of ONVIF event sensors
2020-05-11 13:12:12 -04:00
Jason Hunter
19734e7b2c
Refactor ONVIF () 2020-05-06 09:29:59 -07:00