All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.sarxos.webcam.ds.ipcam.IpCamDriver Maven / Gradle / Ivy

package com.github.sarxos.webcam.ds.ipcam;

import java.util.Collections;
import java.util.List;

import com.github.sarxos.webcam.WebcamDevice;
import com.github.sarxos.webcam.WebcamDriver;


/**
 * IP camera driver.
 * 
 * @author Bartosz Firyn (SarXos)
 */
public class IpCamDriver implements WebcamDriver {

	@Override
	public List getDevices() {
		return Collections.unmodifiableList((List) IpCamDeviceRegistry.getIpCameras());
	}

	public void register(IpCamDevice device) {
		IpCamDeviceRegistry.register(device);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy