sr99622 / libonvif

Onvif library with GUI implementation and built in YOLOX
GNU Lesser General Public License v2.1
175 stars 45 forks source link

Skip devices without valid onvif data #107

Closed barsnick closed 2 weeks ago

barsnick commented 2 weeks ago

Fixes segmentation faults on responses from other devices supporting ws discovery.

When accessing a device, the scan evaluates all responses, and then fails to parse the XAddrs of devices which are not cameras. Skip these devices, like when scanning.

The possible segmentation fault in extractHost() should be fixed separately.

Fixes https://github.com/sr99622/libonvif/issues/106