Closed g40 closed 8 years ago
In lib/cam.js is Cam.prototype._request () and this is where the ONVIF message is sent and replies received.
Please note that after sending a HTTP Request, the reply is asynchronous and triggers a callback function.
So depending on the speed of the web server and the speed of the SOAP replies you may have interleaved logs eg Send Request 1 written to log Send Request 2 written to log Reply to Request 1 written to log from the callback function Send Request 3 written to log Reply to request 2 written to log from the callback function Reply to request 3 written to log from the callback function
Out of interest which camera were you going to test?
Hi Roger, thanks. Logging is what I'd expected. It looks like I've now got a different problem. Let me open new issue.
Thanks for this library. I'm trying to validate a camera and it would be really useful to be able to record both outgoing and incoming packets. Where is the best place to hook in to do this? Additionally any thoughts on which logger package?
TAIA.