com.github.sarxos.webcam.ds.vlcj
Class VlcjDriver
java.lang.Object
com.github.sarxos.webcam.ds.vlcj.VlcjDriver
- All Implemented Interfaces:
- com.github.sarxos.webcam.WebcamDriver
public class VlcjDriver
- extends Object
- implements com.github.sarxos.webcam.WebcamDriver
NOT STABLE, EXPERIMENTAL STUFF!!!
Vlcj service discovery works only on Linux, so there is no way (at least for
now) to list capture devices on Windows.
For Windows dsj library could be used (http://www.humatic.de/htools/dsj.htm)
listing DirectShow filters for all capture devices in system.
There is service discovery for Linux, but in any case this one could be used
(http://code.google.com/p/v4l4j/) to access the Video4Linux devices.
MAC OS X can reuse Rococoa (http://code.google.com/p/rococoa/), a Java
binding to the Mac Objective-C object system, could read device details via
the Mac's QTKit library.
- Author:
- Bartosz Firyn (SarXos)
VlcjDriver
public VlcjDriver()
getDevices
public List<com.github.sarxos.webcam.WebcamDevice> getDevices()
- Specified by:
getDevices
in interface com.github.sarxos.webcam.WebcamDriver
isThreadSafe
public boolean isThreadSafe()
- Specified by:
isThreadSafe
in interface com.github.sarxos.webcam.WebcamDriver
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2012-2013 Bartosz Firyn (SarXos). All Rights Reserved.