agsh / onvif

ONVIF node.js implementation
http://agsh.github.io/onvif/
MIT License
693 stars 236 forks source link

how to get current PTZ values? #177

Closed pppppppppppppppuuuuuurrrrrrreeeeeeee closed 3 years ago

pppppppppppppppuuuuuurrrrrrreeeeeeee commented 3 years ago

i can't find a way for get the current ptz values. is this possible in this package?

chriswiggins commented 3 years ago

Try to use the getStatus command and let us know how you go?

https://github.com/agsh/onvif/blob/master/lib/ptz.js#L167

rodrigograca31 commented 3 years ago
this.getStatus({}, (a, b) => {
            console.log(a);
            console.log(b);
        });