bartbutenaers / node-red-contrib-onvif-nodes

Node Red nodes for communicating with OnVif compliant IP devices
Apache License 2.0
65 stars 25 forks source link

msg : string[39] "Cannot read property 'uri' of undefined" #18

Open motogon opened 3 years ago

motogon commented 3 years ago

hi

изображение

изображение

Does not work, error :

изображение

bartbutenaers commented 3 years ago

Hi @motogon,

I see that you have used as profile value JPEG_320x240. I assume you have simply imported my example flow from the readme page, which contains that profile value. That is my profile from my Panasonic camera, but I assume your camera has other profiles ...

You should be able to view the profiles from your camera via the button, which aks your camera which profiles it supports:

onvif_profiles

You should select the profile that fits your needs (e.g. to specify which resolution you want to receive). Or you simply leave this field empty, and then the camera should use it's default profile.

Although I'm not sure whether that is the problem, because when I use an unexsting profile then it seems my camera's default profile is being used. Don't know if that is camera related...

So there are a couple of things that I need to change:

Bart