Jazea / Onvif.Core

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

Discovery client related issues fixed #16

Closed kumaakh closed 4 months ago

kumaakh commented 6 months ago

Out of box discovery did not work. Debugged and fixed following issues to see Discovery working

  1. Constants.cs => Bad Probe Template fixed, changed the default timeout to 15 seconds (5000 seconds is too long for any usage)
  2. DiscoveryService.cs => was raising ConcurrentModification exception as Except() function only returns a view on the original list,fixed
  3. DiscoveryDevice.cs => the equals operator was broken, changes to a string match.

Pull request follows