public class VlcjDriver extends Object implements com.github.sarxos.webcam.WebcamDriver, com.github.sarxos.webcam.WebcamDiscoverySupport
vlcj library to gain access to
the camera device.http://www.capricasoftware.co.uk/projects/vlcj/index.html| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_SCAN_INTERVAL
Default webcam discovery scan interval in milliseconds.
|
| Constructor and Description |
|---|
VlcjDriver() |
| Modifier and Type | Method and Description |
|---|---|
List<com.github.sarxos.webcam.WebcamDevice> |
getDevices() |
long |
getScanInterval() |
boolean |
isScanPossible() |
boolean |
isThreadSafe() |
void |
setScanInterval(long scanInterval)
Set new scan interval.
|
String |
toString() |
public static final long DEFAULT_SCAN_INTERVAL
public VlcjDriver()
public final List<com.github.sarxos.webcam.WebcamDevice> getDevices()
getDevices in interface com.github.sarxos.webcam.WebcamDriverpublic boolean isThreadSafe()
isThreadSafe in interface com.github.sarxos.webcam.WebcamDriverpublic long getScanInterval()
getScanInterval in interface com.github.sarxos.webcam.WebcamDiscoverySupportpublic void setScanInterval(long scanInterval)
scanInterval - the new scan interval in millisecondsDEFAULT_SCAN_INTERVALpublic boolean isScanPossible()
isScanPossible in interface com.github.sarxos.webcam.WebcamDiscoverySupportCopyright © 2012-2014 Bartosz Firyn (SarXos). All Rights Reserved.