public class VideoCaptureImpl extends VideoSource implements Configurable
VideoSource
class for video capture device.PROPERTY_SIZE
PROPERTY_ACTIVE, PROPERTY_ENABLED, PROPERTY_NAME
Modifier and Type | Method and Description |
---|---|
void |
activate()
Activates this media source.
|
boolean |
configure() |
void |
deactivate()
Deactivates this media source.
|
java.lang.Object |
getData()
Returns image data from this source.
|
FilterGraphManager |
getFilterGraphManager() |
static java.util.List<VideoSource> |
getVideoCaptureSources() |
SmartTee |
getVideoSourceFilter() |
void |
release()
Releases this capture.
|
void |
run() |
void |
stop() |
ImmutableBitmap |
takeScreenshot() |
getAvailable
getLocation, getSize, setLocation, setSize
addPropertyChangeListener, getName, getPropertyChangeSupport, isActive, isEnabled, removePropertyChangeListener, setEnabled, setName, toString
public void activate()
MediaSource
activate
in class MediaSource
public void deactivate()
MediaSource
deactivate
in class MediaSource
public java.lang.Object getData()
ImageSource
getData
in class ImageSource
public ImmutableBitmap takeScreenshot()
public SmartTee getVideoSourceFilter()
public FilterGraphManager getFilterGraphManager()
public void run()
public void stop()
public void release()
release
in class MediaSource
public static java.util.List<VideoSource> getVideoCaptureSources()
public boolean configure()
configure
in interface Configurable