Closed gigincg closed 2 years ago
Hi @gigincg - try adding useSecure: true
to your options:
new Cam(
{
hostname: "mycamera.live",
username: "user",
password: "pass",
port: 443,
useSecure: true
},
function (err) {
this.gotoPreset(
{
preset: 1,
},
() => {
console.log("Callback");
}
);
}
);
@chriswiggins Thanks that worked! Didn't see the option. My bad.
Is there a way to use ONVIF on a HTTPS Camera Endpoint. Using Port 443 doesn't seem to be working. The camera endpoint seems to be working fine when I use the curl command
When I run the curl command like this:
I get the following Response
But when I use
I get the following Error, The same that I get if I give an invalid URL