com.teamdev.jxcapture.video.win
Class VideoCaptureImpl
java.lang.Object
com.teamdev.jxcapture.MediaSource
com.teamdev.jxcapture.image.ImageSource
com.teamdev.jxcapture.video.VideoSource
com.teamdev.jxcapture.video.win.VideoCaptureImpl
- All Implemented Interfaces:
- Configurable
public class VideoCaptureImpl
- extends VideoSource
- implements Configurable
DirectShow implementation of VideoSource
class for video capture device.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
activate
public void activate()
- Description copied from class:
MediaSource
- Activates this media source.
- Overrides:
activate
in class MediaSource
deactivate
public void deactivate()
- Description copied from class:
MediaSource
- Deactivates this media source.
- Overrides:
deactivate
in class MediaSource
getData
public java.lang.Object getData()
- Description copied from class:
ImageSource
- Returns image data from this source.
- Overrides:
getData
in class ImageSource
- Returns:
- image data
takeScreenshot
public ImmutableBitmap takeScreenshot()
getVideoSourceFilter
public SmartTee getVideoSourceFilter()
getFilterGraphManager
public FilterGraphManager getFilterGraphManager()
run
public void run()
stop
public void stop()
release
public void release()
- Releases this capture.
- Overrides:
release
in class MediaSource
getVideoCaptureSources
public static java.util.List<VideoSource> getVideoCaptureSources()
configure
public boolean configure()
- Specified by:
configure
in interface Configurable