GuilhermeC18 / node-onvif

The node-onvif is a Node.js module which allows you to communicate with the network camera which supports the ONVIF specifications.
MIT License
445 stars 197 forks source link

Multiple ethernet/wifi cards prevent device discovery #41

Open ryangriggs opened 5 years ago

ryangriggs commented 5 years ago

Hello, my laptop has three ethernet connections: 1 wired, 1 wifi, and 1 wifi direct to a miracast display. If the miracast connection is active, device discovery fails: it reports 0 devices found. However, if I disable the miracast display, which removes the wifi direct connection, discovery works properly and reports the ONVIF devices present on the network.

Is there a way to list the ethernet connections which are present, and then to specify which connection to use for sending the multicast/discovery packets?

gregksurveillus commented 5 years ago

You are NOT the first. Here is my suggestion that "may" solve your problem: https://github.com/futomi/node-onvif/issues/28

donhk commented 4 years ago

if this is urgent you can see my workaround https://github.com/futomi/node-onvif/pull/67