private void FormDeviceSpy_Shown(object sender, System.EventArgs e) { UpdateTreeView(true); _networkTracker.RootDeviceAdded += networkTracker_RootDeviceAdded; _networkTracker.RootDeviceRemoved += networkTracker_RootDeviceRemoved; _networkTracker.Start(); }
public void Start() { _upnpControlPoint.Start(); _upnpAgent.Start(); Search(); Logger.Info("Media Server - UPnPDeviceTracker: Started"); }
public void Start() { Log.Log.Info("Starting async device detection..."); // Start detecting BDA and WDM devices. _deviceEventListener.OnDeviceAdded(_rwsTuner); DetectBdaWdmDevices(); _systemDeviceChangeEventWatcher.Start(); // Start detecting UPnP devices. // IMPORTANT: this parameter must be set to allow devices with many sub-devices // and/or services to be detected. The timer interval specifies how long the // SSDP controller has from first detection of the root device SSDP packet // until descriptions for all devices and services have been requested, received // and processed. DRI tuners normally take about 5 seconds. SSDPClientController.EXPIRATION_TIMER_INTERVAL = 60000; // IMPORTANT: you should start the control point before the network tracker. _upnpControlPoint.Start(); _upnpAgent.Start(); _upnpAgent.SharedControlPointData.SSDPController.SearchDeviceByDeviceTypeVersion("schemas-opencable-com:service:Tuner", "1", null); }
public void Start() { _controlPoint.Start(); // Start the control point before the network tracker starts. See docs of Start() method. _networkTracker.Start(); }
public void Start() { _networkTracker.Start(); }
public void Start() { _controlPoint.Start(); // Start the control point before the network tracker starts, else the network tracker could fire events before the control point is ready _networkTracker.Start(); }