private void StartSsdpHandler() { try { _ssdpHandler.Start(); _deviceDiscovery = new DeviceDiscovery(_logger, _config, _ssdpHandler, _appHost); _deviceDiscovery.Start(); } catch (Exception ex) { _logger.ErrorException("Error starting ssdp handlers", ex); } }
private void StartSsdpHandler() { try { _ssdpHandler = new SsdpHandler(_logger, _config, GenerateServerSignature()); _ssdpHandler.Start(); _deviceDiscovery = new DeviceDiscovery(_logger, _config, _httpClient, _ssdpHandler, _network); _deviceDiscovery.Start(); } catch (Exception ex) { _logger.ErrorException("Error starting ssdp handlers", ex); } }