
com.github.sarxos.webcam.ds.jmf.JmfDriver Maven / Gradle / Ivy
package com.github.sarxos.webcam.ds.jmf;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Vector;
import javax.media.CaptureDeviceInfo;
import javax.media.CaptureDeviceManager;
import javax.media.Format;
import com.github.sarxos.webcam.WebcamDevice;
import com.github.sarxos.webcam.WebcamDriver;
public class JmfDriver implements WebcamDriver {
private static List devices = null;
@Override
public List getDevices() {
if (devices == null) {
devices = new ArrayList();
@SuppressWarnings("unchecked")
Vector
© 2015 - 2025 Weber Informatics LLC | Privacy Policy