hi there~
during your module using npm install onvif or npm install agsh/onvif,
when i call gotoHomePosition following error is occur
TypeError: Cannot read property 'bind' of undefined
at Cam.gotoHomePosition (/home/ubuntu/workspace/onvif_ptz_server/node_modules/onvif/lib/ptz.js:124:15)
at Cam. (/home/ubuntu/workspace/onvif_ptz_server/index.js:50:30)
at Cam. (/home/ubuntu/workspace/onvif_ptz_server/node_modules/onvif/lib/cam.js:171:26)
at Cam. (/home/ubuntu/workspace/onvif_ptz_server/node_modules/onvif/lib/media.js:990:15)
at /home/ubuntu/workspace/onvif_ptz_server/node_modules/onvif/lib/utils.js:103:6
at Parser. (/home/ubuntu/workspace/onvif_ptz_server/node_modules/xml2js/lib/parser.js:304:18)
at Parser.emit (events.js:198:13)
at SAXParser.onclosetag (/home/ubuntu/workspace/onvif_ptz_server/node_modules/xml2js/lib/parser.js:262:26)
at emit (/home/ubuntu/workspace/onvif_ptz_server/node_modules/sax/lib/sax.js:624:35)
at emitNode (/home/ubuntu/workspace/onvif_ptz_server/node_modules/sax/lib/sax.js:629:5)
hi there~ during your module using npm install onvif or npm install agsh/onvif, when i call gotoHomePosition following error is occur
TypeError: Cannot read property 'bind' of undefined at Cam.gotoHomePosition (/home/ubuntu/workspace/onvif_ptz_server/node_modules/onvif/lib/ptz.js:124:15) at Cam. (/home/ubuntu/workspace/onvif_ptz_server/index.js:50:30)
at Cam. (/home/ubuntu/workspace/onvif_ptz_server/node_modules/onvif/lib/cam.js:171:26)
at Cam. (/home/ubuntu/workspace/onvif_ptz_server/node_modules/onvif/lib/media.js:990:15)
at /home/ubuntu/workspace/onvif_ptz_server/node_modules/onvif/lib/utils.js:103:6
at Parser. (/home/ubuntu/workspace/onvif_ptz_server/node_modules/xml2js/lib/parser.js:304:18)
at Parser.emit (events.js:198:13)
at SAXParser.onclosetag (/home/ubuntu/workspace/onvif_ptz_server/node_modules/xml2js/lib/parser.js:262:26)
at emit (/home/ubuntu/workspace/onvif_ptz_server/node_modules/sax/lib/sax.js:624:35)
at emitNode (/home/ubuntu/workspace/onvif_ptz_server/node_modules/sax/lib/sax.js:629:5)
Camera Vendor is Bolin.