agsh / onvif

ONVIF node.js implementation
https://onvif.pages.dev
MIT License
703 stars 240 forks source link

PTZ Test failed on D-Link DCS 5222L B #83

Closed vertighel closed 4 years ago

vertighel commented 6 years ago

PTZ Test fails on D-Link DCS 5222L B

using node v7.10.0 (npm v5.6.0).

"Manufacturer": "D-Link Corporation", "Model": "DCS-5222LB", "FirmwareVersion": "2.14.04",

PTZ test (example3.js) non passed:

------------------------------
Host: 192.168.0.17 Port: 80
Stream: = rtsp://192.168.0.17:554/live1.sdp
------------------------------

Use Cursor Keys to move camera. + and - to zoom. q to quit
GetPreset Reply
got "keypress" right
sending move command right
move command sent right
sending stop command
stop command sent

but the camera does not move.

XML in 192.168.x.x/onvif/device_service:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:xmime5="http://www.w3.org/2005/05/xmlmime" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tns1="http://www.onvif.org/ver10/topics" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1">
<SOAP-ENV:Body>
<SOAP-ENV:Fault SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<faultcode>SOAP-ENV:Client</faultcode>
<faultstring>
End of file or no input: Operation interrupted or timed out
</faultstring>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
RogerHardiman commented 4 years ago

are you able to make the camera available online for me to test?

vertighel commented 4 years ago

Hello,

thanks for your email. I will try to manage a way to do it and I will keep you updated.

Cheers

Il giorno mer 20 nov 2019 alle ore 20:04 Roger Hardiman < notifications@github.com> ha scritto:

are you able to make the camera available online for me to test?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/agsh/onvif/issues/83?email_source=notifications&email_token=AA2TKXQPVKMQFEPK6O32WMLQUWC2BA5CNFSM4EKJXBVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEET4I4Y#issuecomment-556254323, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2TKXWUEGPQINK674V6KM3QUWC2BANCNFSM4EKJXBVA .

chriswiggins commented 4 years ago

Closing out old issue