public final class WebcamFactory
extends java.lang.Object
WebcamFactory
- IWebcam
factory.Modifier and Type | Method and Description |
---|---|
static boolean |
copyJitsiLibraryToFile(java.io.File file)
Copies jitsi native library (Windows 32bit or 64bit version)
to the
file . |
static java.util.List<IWebcam> |
getWebcams(java.lang.Object... args)
Returns available webcams.
|
static void |
setLicenseKey(java.lang.String license)
Sets license key.
|
public static java.util.List<IWebcam> getWebcams(java.lang.Object... args)
Library arguments:
- "jitsi" or "jitsi:'path to jitsi dll'" - specify DirectShow webcam capture functionality
based on Jitsi library (Windows only)
- if "jitsi" is not defined for Windows then AviCap based webcam capture is used,
but you need to set Component
instance as an argument
args
- factory argumentspublic static boolean copyJitsiLibraryToFile(java.io.File file)
file
.file
- true
if copied successfully; otherwise false
public static void setLicenseKey(java.lang.String license)
license
-