code: public static List<Webcam> getWebcams() throws WebcamException {
  
  		// timeout exception below will never be caught since user would have to
  		// wait around three hundreds billion years for it to occur
  
  		try {
  			return getWebcams(Long.MAX_VALUE);
  		} catch (TimeoutException e) {
  			throw new RuntimeException(e);
  		}
  	}
docs: Get list of webcams to use. This method will wait predefined time interval for webcam devices
  to be discovered. By default this time is set to 1 minute.
  
  @return List of webcams existing in the system
  @throws WebcamException when something is wrong
  @see Webcam#getWebcams(long, TimeUnit)