code: public void start() {
  
  		// if configured to not start, then simply return
  
  		if (!enabled.get()) {
  			LOG.info("Discovery service has been disabled and thus it will not be started");
  			return;
  		}
  
  		// capture driver does not support discovery - nothing to do
  
  		if (support == null) {
  			LOG.info("Discovery will not run - driver {} does not support this feature", driver.getClass().getSimpleName());
  			return;
  		}
  
  		// return if already running
  
  		if (!running.compareAndSet(false, true)) {
  			return;
  		}
  
  		// start discovery service runner
  
  		runner = new Thread(this, "webcam-discovery-service");
  		runner.setUncaughtExceptionHandler(WebcamExceptionHandler.getInstance());
  		runner.setDaemon(true);
  		runner.start();
  	}
docs: Start discovery service.