protected void Stop() { if (_NdiFinder != null) { _NdiFinder.Sources.CollectionChanged -= HandleNdiSourcesChanged; _NdiFinder.Dispose(); _NdiFinder = null; } }
protected void Start() { Console.Error.WriteLine($"Looking for NDI device sources for {FindDuration} seconds."); _NdiFinder = new NDI.Finder(true); _NdiFinder.Sources.CollectionChanged += HandleNdiSourcesChanged; }