Jazea / Onvif.Core

A lightweight ONVIF Discovery and Client library.
MIT License
71 stars 26 forks source link

DiscoveryService uses a ridiculous timeout amount #6

Closed akateleplan closed 4 months ago

akateleplan commented 2 years ago

The DiscoveryService uses Constants.WS_TIMEOUT which is set to 5000. Since wsDiscovery holds it's result while waiting for timeout, it takes approximately 1.4 hours before DiscoveryService.DiscoveredDevices is updated. Should probably have a lower timeout or make wsDiscovery yield results when they are discovered.

differentrain commented 4 months ago

16

Fixed in PR17