Closed dmm closed 4 years ago
If you're still interested in this, I have put a PR in that handles this. Not all cameras respond the same way, so I can only hope that it resolves your issue. For me, Axis and Hikvision were fine, but I was getting something similar for Pelco.
Closing out old issue
The parseSOAPString function in utils.js is crashing with this error:
TypeError: Cannot read property '0' of undefined
at utils.js:89:64
The problem is that your code is expecting a "text" object in "detail"
(result.envelope.body[0].fault[0].detail[0].text[0])
but the message from the camera has none.To get this far I also had to work around issue #66 . Let me know if I can provide any more details
Thanks!
Here's the SOAP message: